Skip to content

Simple script for adding Clojure linting support to Kakoune with joker

Notifications You must be signed in to change notification settings

w33tmaricich/clj-kakoune-joker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Simple script for adding Clojure linting support to Kakoune with joker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages