Last active
May 11, 2020 17:03
-
-
Save aarkerio/cbd3d020763d9e839afe7f13014fd3a4 to your computer and use it in GitHub Desktop.
Connect cider with Luminus (May/2020)
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
I tried following the Cider docs but I was getting the message: | |
Wrong number of arguments: (4 . 4), 0 | |
Error from syntax checker clojure-cider-eastwood: Done with no errors | |
Anyhow I could fix it, the next should work: | |
;; My file in $HOME/.lein/profiles.clj. | |
{:user { | |
:dependencies [ | |
[cider/cider-nrepl "0.24.0"] | |
[acyclic/squiggly-clojure "0.1.9-SNAPSHOT"]] | |
:plugins [ | |
[nrepl/lein-nrepl "0.3.2"] | |
] | |
} | |
} | |
;; In the project.clj file I have: | |
;; [nrepl "0.7.0"] as dependecny in the dev profile. | |
;; Cider version btw is 0.24.0. | |
;; Then run the command: | |
;; $ lein nrepl :middleware ['cider.nrepl/cider-middleware] | |
;; finally execute M-x "cider-connect-clj" in Emacs and you are in. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment