kakoune: fix nix linting for new version

This commit is contained in:
Timothy DeHerrera 2020-12-10 13:10:53 -07:00
parent 13c3c67667
commit 0623b00924
No known key found for this signature in database
GPG key ID: 8985725DB5B0C122

View file

@ -2,9 +2,9 @@ hook -group lint global WinSetOption filetype=nix %{
# remove '' for nix, annoying for string literals
set buffer auto_pairs ( ) { } [ ] '"' '"' ` `
set buffer lintcmd '/etc/xdg/kak/autoload/lint/nix.sh $1'
lint-enable
set buffer lintcmd '/etc/xdg/kak/autoload/lint/nix.sh'
set buffer formatcmd "nixpkgs-fmt"
hook buffer BufWritePre .* %{
format
lint