Mercurial > vim
changeset 33062:eca516f9c19f
runtime(heex): Add HEEX comments to match_words in ftplugin (#12957)
Commit: https://github.com/vim/vim/commit/3ac2d3da5fdf20dfddb450a49502ef47b1f581d4
Author: Jason King <jk@handle.it>
Date: Tue Aug 29 15:11:55 2023 -0500
runtime(heex): Add HEEX comments to match_words in ftplugin (https://github.com/vim/vim/issues/12957)
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 29 Aug 2023 22:15:05 +0200 |
parents | ee9f567bf596 |
children | eb8ab50073b9 |
files | runtime/ftplugin/heex.vim |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/runtime/ftplugin/heex.vim +++ b/runtime/ftplugin/heex.vim @@ -18,7 +18,7 @@ let b:undo_ftplugin = 'set sw< sts< et< " 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>,' ..