diff --git a/rc/filetype/gluon.kak b/rc/filetype/gluon.kak index 2298737c..40ca28a4 100644 --- a/rc/filetype/gluon.kak +++ b/rc/filetype/gluon.kak @@ -93,6 +93,8 @@ define-command -hidden gluon-indent-on-new-line %{ \; k x (\(|\{|\[|=|->|then|else|rec|in)$ j # balance out brackets } ] } + # deindent closing brace(s) when after cursor + try %{ execute-keys -draft ^\h*[})\]]+\h*$ hm 1 } } }