Skip to content

Commit

Permalink
Add test case for #19
Browse files Browse the repository at this point in the history
  • Loading branch information
andymass committed Jan 20, 2018
1 parent 9d8a010 commit f009ef4
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/issues/19/hotfix.vim
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

function! HtmlListHotfix()
call matchup#util#patch_match_words(
\ '<\@<=[ou]l\>[^>]*\%(>\|$\):<\@<=li\>:<\@<=/[ou]l>',
\ '')
endfunction

let g:matchup_hotfix_html = 'HtmlListHotfix'

6 changes: 6 additions & 0 deletions test/issues/19/test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

<ul class="btn-group">
<li>
</li>
</ul>

0 comments on commit f009ef4

Please sign in to comment.