ark/profiles/develop/kakoune/lint/dhall.kak

10 lines
227 B
Plaintext
Raw Normal View History

2020-07-30 08:39:24 +03:00
hook -group lint global WinSetOption filetype=dhall %{
set buffer lintcmd '/etc/xdg/kak/autoload/lint/dhall.sh $1'
lint-enable
set buffer formatcmd "dhall format"
hook buffer BufWritePre .* %{
format
lint
}
}