Skip to content

Commit 6179a74

Browse files
committed
Extend the REPL type section of the README
1 parent 1014e24 commit 6179a74

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,16 @@ the moment, the default Clojure REPL, the Lumo REPL (though partially,
115115
see https://github.com/clojure-emacs/inf-clojure/pull/44), and the
116116
Planck REPL are supported.
117117

118-
To hook up a custom REPL type, just use the right launch command (or connect through socket).
119-
For example, for Lumo just add the following in your `.dir-locals.el`:
118+
What does it mean that a REPL type is supported - well it means that `inf-clojure`
119+
would use the proper code internally to power commands like definition lookup and friends.
120+
Those differ from REPL to REPL and can't be implemented in a REPL-independent way. At
121+
boot type `inf-clojure` tries to detect the type of the REPL that was started and uses
122+
this type to dispatch the proper code for the respective REPL type.
123+
124+
By default `inf-clojure` would start a standard Clojure REPL using
125+
`lein` or `boot` but you can easily change this. To boot some other REPL just use the
126+
right launch command (or connect to the REPL via a socket). For example, for
127+
Lumo just add the following in your `.dir-locals.el`:
120128

121129
```el
122130
((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if you are using Leiningen

0 commit comments

Comments
 (0)