diff options
author | Jason King <jk@handle.it> | 2023-08-29 15:11:55 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-29 22:11:55 +0200 |
commit | 3ac2d3da5fdf20dfddb450a49502ef47b1f581d4 (patch) | |
tree | 1bec849a272f54b66d6e4ee3661ba0dad2af6f35 /runtime | |
parent | 55460da26c2756ec057c03c7d8641eda861bfcd2 (diff) |
runtime(heex): Add HEEX comments to match_words in ftplugin (#12957)
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/ftplugin/heex.vim | 2 |
1 files changed, 1 insertions, 1 deletions
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>,' .. |