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 _ > >