From 3ac2d3da5fdf20dfddb450a49502ef47b1f581d4 Mon Sep 17 00:00:00 2001 From: Jason King Date: Tue, 29 Aug 2023 15:11:55 -0500 Subject: [PATCH] runtime(heex): Add HEEX comments to match_words in ftplugin (#12957) Signed-off-by: Christian Brabandt --- runtime/ftplugin/heex.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/ftplugin/heex.vim b/runtime/ftplugin/heex.vim index f79c69d2aa..becc071c37 100644 --- 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>,' ..