mirror of
https://github.com/mawww/kakoune.git
synced 2025-01-05 19:18:03 +03:00
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
|
||||
try %[ execute-keys -draft s\h+$<ret> d ]
|
||||
# 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