File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -105,13 +105,17 @@ for the symbol you want to show the docstring for.
105
105
106
106
#### Starting and connecting to a socket server
107
107
108
- For Leiningen, add this to your ~ /.lein/profiles.clj or your project.clj:
109
- ``` :jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"] ```
108
+ For Leiningen, add the following option to your ~ /.lein/profiles.clj or your project.clj:
109
+ ```
110
+ :jvm-opts ["-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}"]
111
+ ```
110
112
111
- Then run ` lein repl ` from within your project directory, and ` C-c M-c RET localhost RET 5555 ` from within Emacs.
113
+ Then run ` lein repl ` from within your project directory to start the REPL , and ` C-c M-c RET localhost RET 5555 ` from within Emacs to connect .
112
114
113
115
For boot, export the environment variable BOOT_JVM_OPTIONS:
114
- ``` export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"' ```
116
+ ```
117
+ export BOOT_JVM_OPTIONS='-Dclojure.server.repl="{:port 5555 :accept clojure.core.server/repl}"'
118
+ ```
115
119
116
120
You can also start a socket server via the [ Clojure CLI tools] ( https://clojure.org/guides/getting_started ) .
117
121
Configuration options are described [ here] ( https://dev.clojure.org/display/design/Socket+Server+REPL ) .
You can’t perform that action at this time.
0 commit comments