Fix javascript close bracket alignment
This commit is contained in:
parent
aec317322b
commit
06cc993cd4
|
@ -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-&> /
|
||||
>
|
||||
>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user