mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-24 16:15:38 +03:00
Update deindentation in gluon.kak
This commit is contained in:
parent
1951f19fd8
commit
9560ef3dd5
@ -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-&> }
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user