mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Don't highlight end > with tagnameonly re #98
This commit is contained in:
@@ -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
10
test/issues/98/test.html
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
<html>
|
||||
<body about="hello">
|
||||
</body>
|
||||
<br>
|
||||
<br />
|
||||
<ul>
|
||||
<li></li>
|
||||
</ul>
|
||||
</html>
|
||||
Reference in New Issue
Block a user