diff --git a/rc/base/javascript.kak b/rc/base/javascript.kak index 7a7bb8da..0c7d68b3 100644 --- a/rc/base/javascript.kak +++ b/rc/base/javascript.kak @@ -20,7 +20,7 @@ define-command -hidden javascript-filter-around-selections %{ define-command -hidden javascript-indent-on-char %< evaluate-commands -draft -itersel %< # align closer token to its opener when alone on a line - try %/ execute-keys -draft ^\h+[]}]$ m s \A|.\z 1 / + try %/ execute-keys -draft ^\h+[\]}]$ m s \A|.\z 1 / > >