kakoune: fix nix linting for new version
This commit is contained in:
parent
13c3c67667
commit
0623b00924
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user