@@ -1,33 +1,3 @@
4−; Highlight component names differently
6−(jsx_opening_element ((identifier) @constructor
7− (#match? @constructor "^[A-Z]")))
9−; Handle the dot operator effectively - <My.Component>
10−(jsx_opening_element ((nested_identifier (identifier) @tag (identifier) @constructor)))
12−(jsx_closing_element ((identifier) @constructor
13− (#match? @constructor "^[A-Z]")))
15−; Handle the dot operator effectively - </My.Component>
16−(jsx_closing_element ((nested_identifier (identifier) @tag (identifier) @constructor)))
18−(jsx_self_closing_element ((identifier) @constructor
19− (#match? @constructor "^[A-Z]")))
21−; Handle the dot operator effectively - <My.Component />
22−(jsx_self_closing_element ((nested_identifier (identifier) @tag (identifier) @constructor)))
24−; TODO: also tag @punctuation.delimiter?
26−(jsx_opening_element (identifier) @tag)
27−(jsx_closing_element (identifier) @tag)
28−(jsx_self_closing_element (identifier) @tag)
29−(jsx_attribute (property_identifier) @variable.other.member)
31; Special identifiers
1; Special identifiers
32;--------------------
2;--------------------