summaryrefslogtreecommitdiff
path: root/rc/filetype/javascript.kak
diff options
context:
space:
mode:
authorJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:34:29 -0600
committerJohn Isom <John.Isom2001@gmail.com>2020-07-29 09:34:29 -0600
commit528feb3422913400dbd20da25fb362bf594a282f (patch)
treeac7dfcd94052638fc145353fef74f4b187187b5f /rc/filetype/javascript.kak
parent4a77566ee684f81bd59985521ec9c3eebe5ae989 (diff)
Update deindenting in dart.kak and javascript.kak
Diffstat (limited to 'rc/filetype/javascript.kak')
-rw-r--r--rc/filetype/javascript.kak2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak
index a3bc0654..c7feb46b 100644
--- a/rc/filetype/javascript.kak
+++ b/rc/filetype/javascript.kak
@@ -63,7 +63,7 @@ define-command -hidden javascript-indent-on-new-line %<
# indent after lines beginning / ending with opener token
try %_ execute-keys -draft k <a-x> <a-k> ^\h*[[({]|[[({]$ <ret> j <a-gt> _
# deindent closing token(s) when after cursor
- try %_ execute-keys -draft <a-x> <a-k> ^\h*[})\]]+ <ret> \; gh / [})\]] <ret> m <a-S> 1<a-&> _
+ try %_ execute-keys -draft <a-x> <a-k> ^\h*[})\]] <ret> gh / [})\]] <ret> m <a-S> 1<a-&> _
>
>