Update deindenting in css.kak
This commit is contained in:
parent
528feb3422
commit
bad751197a
|
@ -72,7 +72,7 @@ define-command -hidden css-indent-on-new-line %[
|
|||
# indent after lines ending with with {
|
||||
try %[ execute-keys -draft 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*\} <ret> gh / \} <ret> m <a-S> 1<a-&> ]
|
||||
]
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user