Do I need to have this package loaded after clojure-mode and cider?
yuzumx opened this issue · 2 comments
yuzumx commented
Hello:
Do I really need to load flycheck-clojure after cider and clojure-mode?
Thanks.
scottdw commented
Not necessarily, flycheck-clojure-setup depends on the cider variable cider-jack-in-dependencies being bound to ensure that the squiggly jar is injected on cider-jack-in. So you could load flycheck-clojure before cider and wait to call flycheck-clojure-setup on cider load.
Or if you can ensure that the squiggly jar is available by some other means (dev profiles in lein/boot/deps etc.) then you don't need to rely on cider-jack-in-dependencies and flycheck-clojure-setup can be called before cider is loaded.
yuzumx commented
Thanks