Add switch to disable html list handling re #19

This commit is contained in:
Andy K. Massimino
2018-01-20 09:39:53 -05:00
parent f009ef4150
commit e405d97498

View File

@@ -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