Skip to content
notramo edited this page Sep 14, 2018 · 41 revisions

The programming languages listed on this page have built-in support in kakoune through the use of rc files.

This encompass such common operations as highlighting, indenting, tagging, building, debugging, linting…

Columns in the following table:

  • Name: points to the source file of the related kak script.
  • Alt File: the script creates an alt command to switch between related buffers, for example switching between .c and .h files in C.
  • lintcmd: the language can be linted by this command external tool
  • formatcmd: the language can be formatted through this external command, but you need to plug in explicitly in your kakrc. Example with rust using a hook:
hook global WinSetOption filetype=rust %{
  set window formatcmd 'rustfmt'
}
Name Alt File formatcmd lintcmd
AsciiDoc
C & C++ astyle
Clojure
CoffeeScript coffeelint
CSS prettier stylelint
D dfmt
elixir
elm elm-format
Go gofmt golint
HAML
HTML reshape
Handlebars
Haskell hlint
INI
Java checkstyle
JavaScript prettier eslint
JSON jq
prettier
Julia
Latex
Lua
LISP
Makefile
Markdown
MoonScript
Ocaml ocp-indent
Perl perltidy
PHP
Python autopep8
black
Pony
Pug
Ragel
Ruby rubocop
Rust rustfmt
SASS & SCSS prettier
Scala
Shell shellcheck
Swift
TUP
YAML prettier

Languages supported by the community:

Clone this wiki locally