Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 819 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 819 Bytes

clj-kakoune-joker

joker inside kakoune

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.

Installation & Configuration

  1. Make sure you have joker installed and available on your path.
  2. Make sure clj-kj.sh is accessable on your path.
  3. 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
}

Usage

Save your clj or cljc file and watch the magic.