File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-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* \)\@ <= <\_ s* \z ([_\$ a - zA - Z]\(\.\? [\$ 0 - 9 a- zA - Z]\+\) * \) +
48
+ \ start = + \(\( (\| {\| }\|\[\| ,\| && \| || \| ?\| :\| = \| = >\|\W return\| ^return \|\W default\| ^\| >\)\_ s* \)\@ <= <\_ s* \z ([_\$ a - zA - Z]\(\.\? [\$ 0 - 9 a- zA - Z]\+\) * \) +
49
49
\ skip = + <!--\_.\{-}--> +
50
50
\ end = + </\_s*\z1> +
51
51
\ end = + />+
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ class App extends Component {
16
16
var c = a < foo
17
17
var d = a < foo
18
18
var e = a > c
19
+ var bar = arr [ 1 ] < foo ;
19
20
20
21
if ( a < b && a < d || a > c ) {
21
22
return < a > </ a >
You can’t perform that action at this time.
0 commit comments