Add option for flycheck-joker for clojure

This is provided as a +feature on clojure because joker is not included
in the standard clojure distribution, and I wouldn't assume a given
clojurist has or wants to have it installed. But I think installing it
is the least-fuss option for syntax-checking clojure/script code in
emacs with flycheck.
This commit is contained in:
Matthew Lyon 2018-09-07 20:35:29 -07:00
parent 96bea9e9ad
commit 1f581a4e36
4 changed files with 11 additions and 1 deletions

View file

@ -37,3 +37,6 @@
(map! :map clj-refactor-map
:localleader
:desc "Refactor hydra" :n "r" #'hydra-cljr-help-menu/body)))
(when (and (featurep! +joker) (featurep! :feature syntax-checker))
(load! "+joker"))