diff --git a/rc/filetype/dart.kak b/rc/filetype/dart.kak index b55306aa..70e4fcb7 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*\;?\h*(?://.*)?$ \} m 1 ] + try %[ execute-keys -draft ^\h*\}\h*\;?\h*(?://.*)?$ \; \} m 1 ] = ~