1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-28 09:07:19 +03:00

Update deindentation in gluon.kak

This commit is contained in:
John Isom 2020-07-29 15:13:36 -06:00
parent 1951f19fd8
commit 9560ef3dd5

View File

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