diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index a3d19357..4f1b0723 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*$ \; [}\]] m 1 _ + try %_ execute-keys -draft ^\h*[}\]]+\h*\;?\h*$ \; [}\]] m 1 _ > >