From 6258646f412159259b98d80f22b80be54f63dcca Mon Sep 17 00:00:00 2001 From: John Isom Date: Wed, 29 Jul 2020 21:46:51 -0600 Subject: [PATCH] Fix deindentation in zig.kak --- rc/filetype/zig.kak | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rc/filetype/zig.kak b/rc/filetype/zig.kak index 2f0e5d55..c70a14c9 100644 --- a/rc/filetype/zig.kak +++ b/rc/filetype/zig.kak @@ -121,6 +121,8 @@ define-command -hidden zig-indent-on-new-line %< try %< execute-keys -draft K > # indent after lines ending in { try %< execute-keys -draft k \{\h*$ j > + # deindent closing } when after cursor + try %< execute-keys -draft ^\h*\} gh / \} m 1 > > # filter previous line try %< execute-keys -draft k : zig-trim-indent >