0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

runtime(heex): Add HEEX comments to match_words in ftplugin (#12957)

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Jason King
2023-08-29 15:11:55 -05:00
committed by GitHub
parent 55460da26c
commit 3ac2d3da5f

View File

@@ -18,7 +18,7 @@ let b:undo_ftplugin = 'set sw< sts< et< com< cms<'
" HTML: thanks to Johannes Zellner and Benji Fisher. " HTML: thanks to Johannes Zellner and Benji Fisher.
if exists("loaded_matchit") && !exists("b:match_words") if exists("loaded_matchit") && !exists("b:match_words")
let b:match_ignorecase = 1 let b:match_ignorecase = 1
let b:match_words = '<!--:-->,' .. let b:match_words = '<%\{-}!--:--%\{-}>,' ..
\ '<:>,' .. \ '<:>,' ..
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' .. \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>,' ..
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' .. \ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>,' ..