From f009ef4150aa2fb2de4ef5dc761563a0e81e83bd Mon Sep 17 00:00:00 2001 From: "Andy K. Massimino" Date: Sat, 20 Jan 2018 09:00:02 -0500 Subject: [PATCH] Add test case for #19 --- test/issues/19/hotfix.vim | 9 +++++++++ test/issues/19/test.html | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 test/issues/19/hotfix.vim create mode 100644 test/issues/19/test.html diff --git a/test/issues/19/hotfix.vim b/test/issues/19/hotfix.vim new file mode 100644 index 0000000..a0a9812 --- /dev/null +++ b/test/issues/19/hotfix.vim @@ -0,0 +1,9 @@ + +function! HtmlListHotfix() + call matchup#util#patch_match_words( + \ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>', + \ '') +endfunction + +let g:matchup_hotfix_html = 'HtmlListHotfix' + diff --git a/test/issues/19/test.html b/test/issues/19/test.html new file mode 100644 index 0000000..2c240c3 --- /dev/null +++ b/test/issues/19/test.html @@ -0,0 +1,6 @@ + + +