From 931b90a4515eb15646851883bcfa35c46fe5b2ef Mon Sep 17 00:00:00 2001 From: John Isom Date: Mon, 27 Jul 2020 13:38:55 -0600 Subject: [PATCH] Fix indentation rule for gluon.kak --- rc/filetype/gluon.kak | 2 ++ 1 file changed, 2 insertions(+) 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 } } }