From d7e97022284fd386e2058083861ee1220661bc65 Mon Sep 17 00:00:00 2001 From: John Isom Date: Tue, 28 Jul 2020 15:18:57 -0600 Subject: [PATCH] Fix my closer tokens issues in javascript.kak --- rc/filetype/javascript.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index aae3b89f..a3d19357 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 ^\h*[[{]|[[{]$ j _ # deindent closing token(s) when after cursor - try %_ execute-keys -draft ^\h*[}\]]+\h*$ hm 1 _ + try %_ execute-keys -draft ^\h*[}\]]+\;?\h*$ \; [}\]] m 1 _ > >