Skip to content

Commit 5abac0b

Browse files
committed
Tweak the REPL type documentation
1 parent f1c8323 commit 5abac0b

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

README.md

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -303,17 +303,21 @@ whichever process buffer you want to use.
303303

304304
#### REPL Type
305305

306-
An `inf-clojure` REPL has an associated type. The available types are
307-
`(mapcar 'car inf-clojure-repl-features) ->> (cljs lumo planck joker
308-
clojure babashka)`
309-
310-
What does it mean that a REPL type is supported - well it means that
311-
`inf-clojure` would use the proper code internally to power commands
312-
like definition lookup and friends. Those differ from REPL to REPL
313-
and can't be implemented in a REPL-independent way. At startup
314-
`inf-clojure` tries to detect the type of the REPL that was started
315-
and uses this type to dispatch the proper code for the respective REPL
316-
type.
306+
An `inf-clojure` REPL has an associated type. The available types can be
307+
obtained from `inf-clojure-repl-features`:
308+
309+
```emacs-lisp
310+
(mapcar 'car inf-clojure-repl-features)
311+
312+
;; => (cljs lumo planck joker clojure babashka)
313+
```
314+
315+
What does it mean that a REPL type is supported? Well, it means that
316+
`inf-clojure` would use the proper Clojure(Script) code internally to power
317+
commands like definition lookup and friends. Those differ from REPL to REPL and
318+
can't be implemented in a REPL-independent way. The REPL type is inferred on
319+
startup when using the `inf-clojure` command or is specified manually when using
320+
`inf-clojure-connect`.
317321

318322
#### ElDoc
319323

0 commit comments

Comments
 (0)