Add test case and hotfix for #8

This commit is contained in:
Andy K. Massimino
2017-11-21 00:38:06 -05:00
parent c00b3e9caf
commit bf449d6310
3 changed files with 24 additions and 0 deletions

8
test/issues/8/flex.html Normal file
View File

@@ -0,0 +1,8 @@
<Flex justify="between" style={[tableStyle.mainWrapper, tableStyle.noData]}>
<FlexItem flex>
<ActivityIndicator animating size="large"/>
<Text style={tableStyle.noDataText}>数据加载中。。。</Text>
</FlexItem>
</Flex>

6
test/issues/8/flex2.html Normal file
View File

@@ -0,0 +1,6 @@
<Flex>
<FlexItem flex>
</FlexItem>
</Flex>

10
test/issues/8/hotfix.vim Normal file
View File

@@ -0,0 +1,10 @@
function! HTMLHotFix()
call matchup#util#patch_match_words(
\ '<\@<=\([^/][^ \t>]*\)[^>]*\%(>\|$\):<\@<=/\1>',
\ '<\@<=\([^/][^ \t>]*\)\%(>\|$\|[ \t][^>]*\%(>\|$\)\):<\@<=/\1>'
\)
endfunction
let g:matchup_hotfix_html = 'HTMLHotFix'