Skip to content

Instantly share code, notes, and snippets.

@aarkerio
Last active May 11, 2020 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarkerio/cbd3d020763d9e839afe7f13014fd3a4 to your computer and use it in GitHub Desktop.
Save aarkerio/cbd3d020763d9e839afe7f13014fd3a4 to your computer and use it in GitHub Desktop.
Connect cider with Luminus (May/2020)
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