diff --git a/rc/filetype/go.kak b/rc/filetype/go.kak index d947646f..8899a8c1 100644 --- a/rc/filetype/go.kak +++ b/rc/filetype/go.kak @@ -90,7 +90,7 @@ define-command -hidden go-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(s) when after cursor - try %[ execute-keys -draft ^\h*[})]+\h*$ ] + try %[ execute-keys -draft ^\h*[})]+\h*$ hm 1 ] = ~