Update deindenting in cabal.kak
This commit is contained in:
parent
f3f477aa04
commit
6cf0856a15
|
@ -61,7 +61,7 @@ define-command -hidden cabal-indent-on-new-line %[
|
||||||
# indent after lines ending with { or :
|
# indent after lines ending with { or :
|
||||||
try %[ execute-keys -draft <space> k <a-x> <a-k> [:{]$ <ret> j <a-gt> ]
|
try %[ execute-keys -draft <space> k <a-x> <a-k> [:{]$ <ret> j <a-gt> ]
|
||||||
# deindent closing brace when after cursor
|
# deindent closing brace 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*\}\h*(?:--.*)?$<ret> <a-/> \} <ret> m <a-S> 1<a-&> ]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user