diff options
| author | Sam Larkin <ssamm1545@gmail.com> | 2022-11-17 13:52:22 -0700 |
|---|---|---|
| committer | Sam Larkin <ssamm1545@gmail.com> | 2022-11-17 13:52:22 -0700 |
| commit | acee9d8328174ac8c69c720a0bb87a78b58f05d0 (patch) | |
| tree | f05e7ba7e22751b82f89440f0ab47b999c921ffb /rc/filetype/javascript.kak | |
| parent | 76086628a2dba2057e09fa3c522b4dadc3fa37dc (diff) | |
switch from using '&' to '<a-&>' when indenting javascript comments to allow the
type of indentation to be preserved
Diffstat (limited to 'rc/filetype/javascript.kak')
| -rw-r--r-- | rc/filetype/javascript.kak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc/filetype/javascript.kak b/rc/filetype/javascript.kak index 75a1bfaa..05e0bc6a 100644 --- a/rc/filetype/javascript.kak +++ b/rc/filetype/javascript.kak @@ -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-&> ] > > |
