aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-08-29 22:19:06 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-08-30 09:55:24 +0200
commit88bf4204ef33a842f2cbdc66590dadda8bf4e1ef (patch)
treee6520d5d68309162acf6f58458fe971884a8dbf6
parentda7178cbbf4ea87e0759a5f46c2be93732d901af (diff)
downloadrneovim-88bf4204ef33a842f2cbdc66590dadda8bf4e1ef.tar.gz
rneovim-88bf4204ef33a842f2cbdc66590dadda8bf4e1ef.tar.bz2
rneovim-88bf4204ef33a842f2cbdc66590dadda8bf4e1ef.zip
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>
-rw-r--r--runtime/ftplugin/heex.vim2
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>,' ..