summaryrefslogtreecommitdiff
path: root/cider-mode.el
diff options
context:
space:
mode:
authorBozhidar Batsov <bozhidar@batsov.com>2018-01-15 09:58:07 +0200
committerBozhidar Batsov <bozhidar@batsov.com>2018-01-15 09:58:07 +0200
commitb31b5e309cb3b4569dc237b44b0b6b8e73fc33a3 (patch)
tree040226dae9b7146ffe726a43c57e8f07ce7dd201 /cider-mode.el
parent7cb5d39aee33606241c4b0a664e2a0fc98f8ba86 (diff)
[Fix #1976] Add an interactive command for connecting to a running ClojureScript
REPL This worked in the past as well, but someone had to toggle the type of the REPL to "cljs" using `cider-repl-type` which was not obvious to most people. I also added an interactive command for toggling the REPL type - `cider-repl-set-type`. This fixes a mess I had created before - I had copy-pasted some code I planned to tweak from the related issue and I committed this code upstream by mistake.
Diffstat (limited to 'cider-mode.el')
-rw-r--r--cider-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/cider-mode.el b/cider-mode.el
index 808fc870..f2e575f7 100644
--- a/cider-mode.el
+++ b/cider-mode.el
@@ -363,10 +363,12 @@ Configure `cider-cljs-*-repl' to change the ClojureScript REPL to use for your b
"Menu for Clojure mode.
This is displayed in `clojure-mode' buffers, if `cider-mode' is not active."
`("CIDER" :visible (not cider-mode)
- ["Start a REPL" cider-jack-in
+ ["Start a Clojure REPL" cider-jack-in
:help "Starts an nREPL server (with Leiningen, Boot, or Gradle) and connects a REPL to it."]
- ["Connect to a REPL" cider-connect
+ ["Connect to a Clojure REPL" cider-connect
:help "Connects to a REPL that's already running."]
+ ["Connect to a ClojureScript REPL" cider-connect-clojurescript
+ :help "Connects to a ClojureScript REPL that's already running."]
["Start a Clojure REPL, and a ClojureScript REPL" cider-jack-in-clojurescript
:help "Starts an nREPL server, connects a Clojure REPL to it, and then a ClojureScript REPL.
Configure `cider-cljs-lein-repl', `cider-cljs-boot-repl' and `cider-cljs-gradle-repl' to change the ClojureScript REPL to use."]