Don't highlight end > with tagnameonly re #98

This commit is contained in:
Andy K. Massimino
2020-06-28 10:57:04 -04:00
parent 857683de79
commit b3bda157a1
2 changed files with 19 additions and 0 deletions

View File

@@ -36,6 +36,15 @@ if matchup#util#matchpref('tagnameonly', 0)
call matchup#util#patch_match_words(
\ 'dl\>',
\ 'dl\>\g{hlend}')
call matchup#util#patch_match_words(
\ '1>',
\ '1\g{hlend}>')
call matchup#util#patch_match_words(
\ ']l>',
\ ']l\g{hlend}>')
call matchup#util#patch_match_words(
\ 'dl>',
\ 'dl\g{hlend}>')
endif
let &cpo = s:save_cpo

10
test/issues/98/test.html Normal file
View File

@@ -0,0 +1,10 @@
<html>
<body about="hello">
</body>
<br>
<br />
<ul>
<li></li>
</ul>
</html>