Merge remote-tracking branch 'bclinthall/jsBracketAlign'

This commit is contained in:
Maxime Coste 2018-03-23 07:38:58 +11:00
commit 2139173d89

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-&> /
>
>