Adjust html words further

This commit is contained in:
Andy K. Massimino
2022-11-06 09:38:06 -05:00
parent 572edcb24f
commit addbbc1ecc

View File

@@ -153,7 +153,7 @@ function! matchup#util#standard_html(...) abort " {{{1
let l:words .= ',<\@<=?\k\+:?>'
let l:words .= ',<\@<=\([^ \t>/]\+\)\g{hlend}'
\ . '\%(\s\+[^>]*\%([^/]>\|$\)\|>\|$\)'
\ . ':<\@<=/\1>'
\ . ':<\@<=/\1\g{hlend}>'
let l:words .= ',<\@<=\%([^ \t>/]\+\)\g{hlend}'
\ . '\%(\s\+[^>]*[^/>]\|$\)'
\ . ':/>'