diff --git a/CHANGELOG.md b/CHANGELOG.md index 17d7f19..dedc3fe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ ### New Features +* [#44](https://github.com/clojure-emacs/inf-clojure/pull/44): Add REPL types and Lumo support. * [#50](https://github.com/clojure-emacs/inf-clojure/pull/50): Rename defcustoms to `inf-clojure-*-form` where appropriate. * [#34](https://github.com/clojure-emacs/inf-clojure/pull/34): Add support for socket REPL connections. * [#46](https://github.com/clojure-emacs/inf-clojure/pull/46): Make it possible to disable prompt on `inf-clojure-set-ns`. diff --git a/README.md b/README.md index 781fd46..ff18d71 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,16 @@ the default specified in `inf-clojure-program`. You can set custom values to `inf-clojure` variables on a per-project basis using [directory variables](https://www.gnu.org/software/emacs/manual/html_node/emacs/Directory-Variables.html). +## REPL Type + +An `inf-clojure` REPL can be of different types: Clojure, ClojureScript, Lumo and Planck are all potentially valid options. +At the moment, the default Clojure REPL and the Lumo REPL (though partially, see https://github.com/clojure-emacs/inf-clojure/pull/44) are supported. + +To hook up a custom REPL type, just use the right launch command (or connect through socket). +For example, for Lumo just add the following in your `.dir-locals.el`: + + ((nil . ((inf-clojure-boot-cmd . "lumo")))) ;; inf-clojure-lein-cmd if you are using Leiningen + ## ElDoc `eldoc-mode` is supported in Clojure source buffers and `*inferior-clojure*`