Skip to content

Don't assume that nREPL servers are Clojure #3905

@Wilfred

Description

@Wilfred

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions