diff options
author | Andrea Richiardi <a.richiardi.work@gmail.com> | 2017-01-25 10:51:20 -0800 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2017-01-30 10:41:32 +0700 |
commit | eb1bc430288af6e666e385c634c434a863a4ef8b (patch) | |
tree | c5a12688fbfe2cbc4feda1a2f199edfecad8fe1b /cider-mode.el | |
parent | a7603ee17681d0a4b95ee114c444772695eaf470 (diff) |
[Fix #1881] Add `cider-cljs-*-repl` defcustom and hook `boot-cljs-repl`
This patch firstly adds two more defcustoms, `cider-cljs-boot-repl` and
`cider-cljs-gradle-repl`, that will be queried by the
`cider-cljs-repl-form` function on `cider-jack-in-clojurescript`
Secondly, it adds a clause in `cider--cljs-repl-types` that allows to
automatically call `adzerk.boot-cljs-repl/start-repl` in case `boot` is
the project type.
Diffstat (limited to 'cider-mode.el')
-rw-r--r-- | cider-mode.el | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/cider-mode.el b/cider-mode.el index 5546c0ff..7bc0a98c 100644 --- a/cider-mode.el +++ b/cider-mode.el @@ -186,9 +186,11 @@ Returns to the buffer in which the command was invoked." ("Clojurescript" ["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' to change the ClojureScript REPL to use."] +Configure `cider-cljs-*-repl' to change the ClojureScript REPL to use for your build tool."] ["Create a ClojureScript REPL from a Clojure REPL" cider-create-sibling-cljs-repl] - ["Configure the ClojureScript REPL to use" (customize-variable 'cider-cljs-lein-repl)]) + ["Form for launching a ClojureScript REPL via Leiningen" (customize-variable 'cider-cljs-lein-repl)] + ["Form for launching a ClojureScript REPL via Boot" (customize-variable 'cider-cljs-boot-repl)] + ["Form for launching a ClojureScript REPL via Gradle" (customize-variable 'cider-cljs-gradle-repl)]) "--" ["Connection info" cider-display-connection-info :active cider-connections] @@ -342,7 +344,7 @@ Configure `cider-cljs-lein-repl' to change the ClojureScript REPL to use."] :help "Connects to a 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' to change the ClojureScript REPL to use."] + Configure `cider-cljs-lein-repl', `cider-cljs-boot-repl' and `cider-cljs-gradle-repl' to change the ClojureScript REPL to use."] "--" ["View manual online" cider-view-manual]))) |