switch from using '&' to '<a-&>' when indenting javascript comments to allow the

type of indentation to be preserved
This commit is contained in:
Sam Larkin 2022-11-17 13:52:22 -07:00
parent 76086628a2
commit acee9d8328

View File

@ -99,7 +99,7 @@ define-command -hidden javascript-insert-on-new-line %<
# trim trailing whitespace on the previous line # trim trailing whitespace on the previous line
try %[ execute-keys -draft s\h+$<ret> d ] try %[ execute-keys -draft s\h+$<ret> d ]
# align the new star with the previous one # align the new star with the previous one
execute-keys Kx1s^[^*]*(\*)<ret>& execute-keys Kx1s^[^*]*(\*)<ret><a-(><a-&>
] ]
> >
> >