Update deindenting in cabal.kak

This commit is contained in:
John Isom 2020-07-28 20:50:36 -06:00
parent 9edbcd4a46
commit 655c7aad60

View File

@ -61,7 +61,7 @@ define-command -hidden cabal-indent-on-new-line %[
# indent after lines ending with { or :
try %[ execute-keys -draft <space> k <a-x> <a-k> [:{]$ <ret> j <a-gt> ]
# deindent closing brace when after cursor
try %[ execute-keys -draft <a-x> <a-k>\h*\}\h*(?:--.*)?$<ret> <a-/> \} <ret> m <a-S> 1<a-&> ]
try %[ execute-keys -draft <a-x> <a-k>\h*\}\h*(?:--.*)?$<ret> \; <a-/> \} <ret> m <a-S> 1<a-&> ]
]
]