Just discovered kakoune and it is wonderful. I write a lot of clojure so i wanted to add linting support.
clj-kakoune-joker
is a simple shell script that adds linting support.
Currently joker only supports linting for JVM clojure.
- Make sure you have joker installed and available on your path.
- Make sure
clj-kj.sh
is accessable on your path. - Modify your kakrc with the following options:
hook global WinSetOption filetype=clojure %{
lint-enable
set-option global lintcmd 'clj-kj.sh'
}
hook global BufWritePost .*\.(clj|cljc) %{
lint
}
Save your clj
or cljc
file and watch the magic.