forked from pub-solar/os
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
|
# remove '' for nix, annoying for string literals
|
||||||
set buffer auto_pairs ( ) { } [ ] '"' '"' ` `
|
set buffer auto_pairs ( ) { } [ ] '"' '"' ` `
|
||||||
|
|
||||||
set buffer lintcmd '/etc/xdg/kak/autoload/lint/nix.sh $1'
|
set buffer lintcmd '/etc/xdg/kak/autoload/lint/nix.sh'
|
||||||
lint-enable
|
|
||||||
set buffer formatcmd "nixpkgs-fmt"
|
set buffer formatcmd "nixpkgs-fmt"
|
||||||
|
|
||||||
hook buffer BufWritePre .* %{
|
hook buffer BufWritePre .* %{
|
||||||
format
|
format
|
||||||
lint
|
lint
|
||||||
|
|
Loading…
Reference in a new issue