mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Add test case for #19
This commit is contained in:
9
test/issues/19/hotfix.vim
Normal file
9
test/issues/19/hotfix.vim
Normal file
@@ -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
test/issues/19/test.html
Normal file
6
test/issues/19/test.html
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
<ul class="btn-group">
|
||||
<li>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
Reference in New Issue
Block a user