summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:35:36 -0600
committerJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:35:36 -0600
commitbad751197a62bbef8cd2bd286adfbf40a8c2f4a8 (patch)
tree66e1a1aa67f5e3453099b68b2e47dbdab0e7f32e
parent528feb3422913400dbd20da25fb362bf594a282f (diff)
Update deindenting in css.kak
-rw-r--r--rc/filetype/css.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/css.kak b/rc/filetype/css.kak
index 4522effb..7f6f7866 100644
--- a/rc/filetype/css.kak
+++ b/rc/filetype/css.kak
@@ -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-&> ]
]
]