diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak index 40ca28a4..1e62dc99 100644 --- a/rc/filetype/gluon.kak +++ b/rc/filetype/gluon.kak @@ -88,11 +88,7 @@ define-command -hidden gluon-indent-on-new-line %{ try %{ execute-keys -draft k : gluon-trim-indent } # indent after lines ending with (open) braces, =, ->, condition, rec, # or in - try %{ - execute-keys -draft \ - \; k x (\(|\{|\[|=|->|then|else|rec|in)$ j - # balance out brackets } ] - } + try %{ execute-keys -draft \; k x (\(|\{|\[|=|->|then|else|rec|in)$ j } # deindent closing brace(s) when after cursor try %{ execute-keys -draft ^\h*[})\]]+\h*$ hm 1 } }