From 7f4e48e3da5c84e9341361a6612eb049f64230bc Mon Sep 17 00:00:00 2001 From: John Isom Date: Wed, 29 Jul 2020 17:04:01 -0600 Subject: [PATCH] Update deindentation in nix.kak --- rc/filetype/nix.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/nix.kak b/rc/filetype/nix.kak index 9fc4dc66..091204e9 100644 --- a/rc/filetype/nix.kak +++ b/rc/filetype/nix.kak @@ -110,7 +110,7 @@ define-command -hidden nix-indent-on-new-line %< # indent after lines beginning / ending with opener token try %_ execute-keys -draft k ^\h*[[{]|[[{]$ j _ # deindent closer token(s) when after cursor - try %_ execute-keys -draft ^\h*[}\]]+\h*$ hm 1 _ + try %_ execute-keys -draft ^\h*[}\]] gh / [}\]] m 1 _ > >