@@ -34,8 +34,8 @@ syntax region jsxRegion
3434 \ end = + \s * ,\@ = +
3535 \ end = + \s\+ :\@ = +
3636 \ 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
3939 \ keepend
4040 \ extend
4141
@@ -72,14 +72,6 @@ syntax match jsxEntityPunct contained "[&.;]"
7272syntax match jsxTagName
7373 \ + [<]\@<=[^ /!?<> " ']\++
7474 \ contained
75- \ contains= jsxNamespace,jsxTagHook
76- \ display
77-
78- " <tag:hoge key={this.props.key}>
79- " ~~~~
80- syntax match jsxNamespace
81- \ + \( <\|</\)\@<=[^ /!?<> " ':]\+[:]\@=+
82- \ contained
8375 \ display
8476
8577" <tag key={this.props.key}>
@@ -108,11 +100,8 @@ syntax region jsxString contained start=+'+ end=+'+ contains=jsxEntity,@Spell di
108100" s~~~~~~~~~~~~~~e
109101syntax region jsxEscapeJs
110102 \ 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
116105 \ matchgroup= jsxCloseTag end = + >+
117106 \ start = + {+
118107 \ end = + }+
0 commit comments