Fix indentation rule for gluon.kak

This commit is contained in:
John Isom 2020-07-27 13:38:55 -06:00
parent 8a079dd82f
commit 931b90a451

View File

@ -93,6 +93,8 @@ define-command -hidden gluon-indent-on-new-line %{
\; k x <a-k> (\(|\{|\[|=|->|then|else|rec|in)$ <ret> j <a-gt> \; k x <a-k> (\(|\{|\[|=|->|then|else|rec|in)$ <ret> j <a-gt>
# balance out brackets } ] # balance out brackets } ]
} }
# deindent closing brace(s) when after cursor
try %{ execute-keys -draft <a-x> <a-k>^\h*[})\]]+\h*$<ret> hm <a-S> 1<a-&> }
} }
} }