From acee9d8328174ac8c69c720a0bb87a78b58f05d0 Mon Sep 17 00:00:00 2001 From: Sam Larkin Date: Thu, 17 Nov 2022 13:52:22 -0700 Subject: [PATCH] switch from using '&' to '' when indenting javascript comments to allow the type of indentation to be preserved --- rc/filetype/javascript.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+$ d ] # align the new star with the previous one - execute-keys Kx1s^[^*]*(\*)& + execute-keys Kx1s^[^*]*(\*) ] > >