You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The REPL commands don't prompt by default but a prefix argument will invert
89
-
this. For instance: `C-u C-c C-v` will ask for the symbol you want to show the
90
-
docstring for.
91
-
92
-
You can use `M-x inf-clojure-connect` to connect to a running socket-repl.
93
-
You will be prompted for host and port.
93
+
Many `inf-clojure-minor-mode` commands by default act on the symbol at
94
+
point. You can, however, change this behaviour by invoking such
95
+
commands with a prefix argument. For instance: `C-u C-c C-v` will ask
96
+
for the symbol you want to show the docstring for.
94
97
95
98
## REPL Type
96
99
97
-
An `inf-clojure` REPL can be of different types: Clojure, ClojureScript, Lumo and Planck are all potentially valid options.
98
-
At the moment, the default Clojure REPL, the Lumo REPL (though partially, see https://github.com/clojure-emacs/inf-clojure/pull/44), and the Planck REPL are supported.
100
+
An `inf-clojure` REPL can be of different types: Clojure,
101
+
ClojureScript, Lumo and Planck are all potentially valid options. At
102
+
the moment, the default Clojure REPL, the Lumo REPL (though partially,
103
+
see https://github.com/clojure-emacs/inf-clojure/pull/44), and the
104
+
Planck REPL are supported.
99
105
100
106
To hook up a custom REPL type, just use the right launch command (or connect through socket).
101
107
For example, for Lumo just add the following in your `.dir-locals.el`:
102
108
103
-
((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if you are using Leiningen
109
+
```el
110
+
((nil . ((inf-clojure-boot-cmd . "lumo -d")))) ;; inf-clojure-lein-cmd if you are using Leiningen
111
+
```
104
112
105
113
## ElDoc
106
114
@@ -124,9 +132,12 @@ You can leave it enabled, it just won't show anything in the echo area.
124
132
125
133
## Lumo Setup
126
134
127
-
For an optimal Lumo experience the `-d` needs to be passed to Lumo when launched from the command line. This disable `readline` support in order to play nicely with emacs.
135
+
For an optimal Lumo experience the `-d` needs to be passed to Lumo
136
+
when launched from the command line. This disable `readline` support
137
+
in order to play nicely with emacs.
128
138
129
-
For example, you can use the following command (assuming `cp` contains the classpath) in your `.dir-locals.el`:
139
+
For example, you can use the following command (assuming `cp` contains
0 commit comments