diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-05-20 23:33:08 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-05-20 23:33:08 +0300 |
commit | ab25ea6c6632b4557460f49146ae728e19ba1e94 (patch) | |
tree | 0105502468ebfe6662ecc08000a68d6770286592 /cider.el | |
parent | c08efcfb020376b8ccd99faecd3c0deec8a5d90f (diff) |
Inject piggieback automatically on cider-jack-in-clojurescript
Diffstat (limited to 'cider.el')
-rw-r--r-- | cider.el | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -925,7 +925,10 @@ own buffer." If PROMPT-PROJECT is t, then prompt for the project for which to start the server." (interactive "P") - (cider-jack-in prompt-project 'cljs-too)) + ;; TODO: That should be streamlined and made configurable + (let ((cider-jack-in-dependencies (cons '("cider/piggieback" "0.3.5") cider-jack-in-dependencies)) + (cider-jack-in-nrepl-middlewares (cons "cider.piggieback/wrap-cljs-repl" cider-jack-in-nrepl-middlewares))) + (cider-jack-in prompt-project 'cljs-too))) ;;;###autoload (defalias 'cider-jack-in-cljs #'cider-jack-in-clojurescript) |