commit 88bf4204ef33a842f2cbdc66590dadda8bf4e1ef
parent da7178cbbf4ea87e0759a5f46c2be93732d901af
Author: Christian Clason <c.clason@uni-graz.at>
Date: Tue, 29 Aug 2023 22:19:06 +0200
vim-patch:3ac2d3da5fdf
runtime(heex): Add HEEX comments to match_words in ftplugin (vim/vim#12957)
https://github.com/vim/vim/commit/3ac2d3da5fdf20dfddb450a49502ef47b1f581d4
Co-authored-by: Jason King <jk@handle.it>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/runtime/ftplugin/heex.vim b/runtime/ftplugin/heex.vim
@@ -18,7 +18,7 @@ let b:undo_ftplugin = 'set sw< sts< et< com< cms<'
" HTML: thanks to Johannes Zellner and Benji Fisher.
if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 1
- let b:match_words = '<!--:-->,' ..
+ let b:match_words = '<%\{-}!--:--%\{-}>,' ..
\ '<:>,' ..
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' ..
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' ..