Cider seems to the primary (only?) nREPL client in Emacs, and I'd love to use it with languages that aren't Clojure too. I'm particularly interested in using nREPL with my Garden programming language.
However, when connecting to a non-Clojure nREPL server, the buffer name is *cider-repl garden/sample_programs:localhost:7888(clj)* and there doesn't seem to be a way to set :repl-type to something else. It's hardcoded to 'clj in cider-connect-clj and cider-connect is just an alias to cider-connect-clj.
This also means that cider-repl-init-code ends up sending Clojure code to the non-Clojure server.
Cider seems to the primary (only?) nREPL client in Emacs, and I'd love to use it with languages that aren't Clojure too. I'm particularly interested in using nREPL with my Garden programming language.
However, when connecting to a non-Clojure nREPL server, the buffer name is
*cider-repl garden/sample_programs:localhost:7888(clj)*and there doesn't seem to be a way to set:repl-typeto something else. It's hardcoded to'cljincider-connect-cljandcider-connectis just an alias tocider-connect-clj.This also means that
cider-repl-init-codeends up sending Clojure code to the non-Clojure server.