From ec48e07b2aa8683227384815516fe77d6cb7367f Mon Sep 17 00:00:00 2001 From: John Isom Date: Tue, 28 Jul 2020 15:59:13 -0600 Subject: [PATCH] Update deindenting in dart.kak --- rc/filetype/dart.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/dart.kak b/rc/filetype/dart.kak index 21db0b1e..b55306aa 100644 --- a/rc/filetype/dart.kak +++ b/rc/filetype/dart.kak @@ -98,7 +98,7 @@ define-command -hidden dart-indent-on-new-line %~ # indent after if|else|while|for try %[ execute-keys -draft )MB \A(if|else|while|for)\h*\(.*\)\h*\n\h*\n?\z s \A|.\z 11 ] # deindent closing brace when after cursor - try %[ execute-keys -draft ^\h*\}\h*$ hm 1 ] + try %[ execute-keys -draft ^\h*\}\h*\;?\h*(?://.*)?$ \} m 1 ] = ~