File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 45
45
" -b,--nrepl-bind ADDR" {:doc " Bind address of nrepl, by default \" 127.0.0.1\" ."
46
46
:default " 127.0.0.1" }
47
47
" --emacs" {:doc " Shorthand for --cider-nrepl --refactor-nrepl --cider-connect"
48
- :handler (fn [ctx] (assoc ctx :cider-nrepl :refactor-nrepl :cider-connect ))}
48
+ :handler (fn [ctx] (assoc ctx
49
+ :cider-nrepl true
50
+ :refactor-nrepl true
51
+ :cider-connect true ))}
49
52
" --vs-code" {:doc " Alias for --cider-nrepl"
50
- :handler (fn [ctx] (assoc ctx :cider-nrepl ))}
53
+ :handler (fn [ctx] (assoc ctx :cider-nrepl true ))}
51
54
" --cider-nrepl" " Include CIDER nREPL dependency and middleware"
52
55
" --refactor-nrepl" " Include refactor-nrepl dependency and middleware"
53
56
" --cider-connect" " Automatically connect Emacs CIDER"
459
462
(ansi-bold (ansi-fg :green " Clojure" ))
460
463
(ansi-fg :green " on nREPL port" )
461
464
(ansi-fg :magenta (:nrepl-port ctx)))
462
- (let [opts (filter (comp true ? val) ( :options ctx) )
465
+ (let [opts (filter (comp true ? val) ctx)
463
466
aliases (:aliases ctx)]
464
467
(when (seq opts)
465
468
(println (ansi-fg :green " Options:" )
You can’t perform that action at this time.
0 commit comments