{:user {:plugins [[cider/cider-nrepl "0.9.1"]]}}
If you don't need to have it available all the time, but only when you run lein repl
, you can move it into :repl
profile.
{:repl {:plugins [[cider/cider-nrepl "0.9.1"]]}}
After this, startup time of non-REPL tasks will be much faster (e.g. 2 seconds vs 8 seconds for `lein help` on my machine).
Wow. I did this and it cut my lein start time from 9.4s to 5.7s.
ReplyDeleteThanks!
So after doing this, cider-jack-in inside emacs no longer works :-(. I assumed that it would use the :repl profile, but maybe it doesn't?
ReplyDeletecider-jack-in works fine on my machine. Are you sure that You have correct stuff in ~/.lein/profiles.clj? Can You post it somewhere? It should (at least) contain that one line mentioned in my post.
DeleteDidn't know about the `:repl` profile. I'll update the docs.
ReplyDeleteWow! This is the coolest! Thank you so much.
ReplyDelete