@@ -34,8 +34,8 @@ syntax region jsxRegion
34
34
\ end = + \s * ,\@ = +
35
35
\ end = + \s\+ :\@ = +
36
36
\ fold
37
- \ contains= jsxCloseString,jsxCloseTag,jsxTag,jsxComment,javascriptParens ,
38
- \j sFuncBlock,javascriptBlock, @j avascriptRegionHook, @S pell
37
+ \ contains= jsxCloseString,jsxCloseTag,jsxTag,jsxComment,jsFuncBlock ,
38
+ \@ Spell
39
39
\ keepend
40
40
\ extend
41
41
@@ -72,14 +72,6 @@ syntax match jsxEntityPunct contained "[&.;]"
72
72
syntax match jsxTagName
73
73
\ + [<]\@<=[^ /!?<> " ']\++
74
74
\ contained
75
- \ contains= jsxNamespace,jsxTagHook
76
- \ display
77
-
78
- " <tag:hoge key={this.props.key}>
79
- " ~~~~
80
- syntax match jsxNamespace
81
- \ + \( <\|</\)\@<=[^ /!?<> " ':]\+[:]\@=+
82
- \ contained
83
75
\ display
84
76
85
77
" <tag key={this.props.key}>
@@ -108,11 +100,8 @@ syntax region jsxString contained start=+'+ end=+'+ contains=jsxEntity,@Spell di
108
100
" s~~~~~~~~~~~~~~e
109
101
syntax region jsxEscapeJs
110
102
\ contained
111
- \ contains= jsTemplateString,jsObject,jsArrowFuncArgs,
112
- \j sFlowDefinition,
113
- \j sFuncBlock,jsParen,javascriptIdentifier,
114
- \j avascriptTemplate,javascriptArrowFunc,
115
- \j sxRegion
103
+ \ contains= jsTemplateString,jsObject,jsArrowFuncArgs,jsFuncBlock,
104
+ \j sFlowDefinition,jsFuncBlock,jsParen,jsxRegion
116
105
\ matchgroup= jsxCloseTag end = + >+
117
106
\ start = + {+
118
107
\ end = + }+
0 commit comments