mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add switch to disable html list handling re #19
This commit is contained in:
@@ -4,3 +4,12 @@ call matchup#util#patch_match_words(
|
||||
\ '<\@<=\([^/][^ \t>]*\)\%(>\|$\|[ \t][^>]*\%(>\|$\)\):<\@<=/\1>'
|
||||
\)
|
||||
|
||||
if get(g:, 'matchup_matchpref_html_nolists', 0)
|
||||
call matchup#util#patch_match_words(
|
||||
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>',
|
||||
\ '')
|
||||
call matchup#util#patch_match_words(
|
||||
\ '<\@<=dl\>[^>]*\%(>\|$\):<\@<=d[td]\>:<\@<=/dl>',
|
||||
\ '')
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user