File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ syntax region jsxTag
45
45
" s~~~~e
46
46
" A big start regexp borrowed from https://git.io/vDyxc
47
47
syntax region jsxRegion
48
- \ start = + \(\( (\| {\| }\|\[\|\]\| ,\| && \| || \| ?\| :\| = \| = >\|\W return\| ^return \|\W default\| ^\| >\)\_ s* \)\@ <= <\z ([_\$ a - zA - Z][\$ 0 - 9 a- zA - Z]* \) +
48
+ \ start = + \(\( (\| {\| }\|\[\|\]\| ,\| && \| || \| ?\| :\| = \| = >\|\W return\| ^return \|\W default\| ^\| >\)\_ s* \)\@ <= <\z ([_\$ a - zA - Z]\(\.\? [\$ 0 - 9 a- zA - Z]\+\) * \) +
49
49
\ skip = + <!--\_.\{-}--> +
50
50
\ end = + </\z1> +
51
51
\ end = + />+
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ class Hoge extends React.Component {
36
36
if ( foo <= 300 ) {
37
37
return < div style = { { margin :0 } } >
38
38
< div > hello, world</ div >
39
+ < table . row hello = "world" >
40
+ </ table . row >
39
41
</ div >
40
42
}
41
43
}
You can’t perform that action at this time.
0 commit comments