From 0623b009249992ba7ce2721c145c20f3bdc86420 Mon Sep 17 00:00:00 2001 From: Timothy DeHerrera Date: Thu, 10 Dec 2020 13:10:53 -0700 Subject: [PATCH] kakoune: fix nix linting for new version --- profiles/develop/kakoune/lint/nix.kak | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/profiles/develop/kakoune/lint/nix.kak b/profiles/develop/kakoune/lint/nix.kak index a5e9ed7..4977ad0 100644 --- a/profiles/develop/kakoune/lint/nix.kak +++ b/profiles/develop/kakoune/lint/nix.kak @@ -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