Fix javascript close bracket alignment

This commit is contained in:
Clint Hall 2018-03-22 12:31:43 -04:00
parent aec317322b
commit 06cc993cd4

View File

@ -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 <a-h> <a-k> ^\h+[]}]$ <ret> m s \A|.\z <ret> 1<a-&> /
try %/ execute-keys -draft <a-h> <a-k> ^\h+[\]}]$ <ret> m s \A|.\z <ret> 1<a-&> /
>
>