File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,12 +78,13 @@ syntax match jsxEntityPunct contained "[&.;]"
7878syntax match jsxTagName
7979 \ + <\_s*\zs[^/!?<> " ']\++
8080 \ contained
81+ \ nextgroup= jsxAttrib
8182 \ display
8283
8384" <tag key={this.props.key}>
8485" ~~~
8586syntax match jsxAttrib
86- \ + \(\( <\_s*\)\@<!\_s\)\@<= \<[a-zA-Z_][-0-9a-zA-Z_]*\>\(\_ s\+\|\_ s* [= />]\)\@ = +
87+ \ + \_ s \<[a-zA-Z_][-0-9a-zA-Z_]*\>\(\_s\+\|\_s*[=/> ]\)\@ = +
8788 \ contained
8889 \ display
8990
Original file line number Diff line number Diff line change @@ -78,12 +78,13 @@ syntax match jsxEntityPunct contained "[&.;]"
7878syntax match jsxTagName
7979 \ + <\_s*\zs[^/!?<> " ']\++
8080 \ contained
81+ \ nextgroup= jsxAttrib
8182 \ display
8283
8384" <tag key={this.props.key}>
8485" ~~~
8586syntax match jsxAttrib
86- \ + \(\( <\_s*\)\@<!\_s\)\@<= \<[a-zA-Z_][-0-9a-zA-Z_]*\>\(\_ s\+\|\_ s* [= />]\)\@ = +
87+ \ + \_ s \<[a-zA-Z_][-0-9a-zA-Z_]*\>\(\_s\+\|\_s*[=/> ]\)\@ = +
8788 \ contained
8889 \ display
8990
You can’t perform that action at this time.
0 commit comments