switch from using '&' to '<a-&>' when indenting javascript comments to allow the
type of indentation to be preserved
This commit is contained in:
parent
76086628a2
commit
acee9d8328
|
@ -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-&>
|
||||||
]
|
]
|
||||||
>
|
>
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user