Created
March 20, 2018 09:16
-
-
Save jackrusher/758f203ed53c5d2aa959515ef17a5fc1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defun maria-connect () | |
(interactive) | |
(cider-connect "localhost" "9000") ; doesn't return the buffer in 0.16.0 😢 | |
(with-current-buffer (cider-default-connection) | |
(cider-nrepl-send-request | |
`("op" "eval" | |
"ns" ,(cider-current-ns) | |
"code" "(do (in-ns 'shadow.cljs.devtools.api) (repl :live))") | |
(cider-repl-handler (current-buffer))) | |
(setq cider-repl-type "cljs"))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment