pub const JSX_HIGHLIGHT_QUERY: &str = "(jsx_opening_element (identifier) @tag (#match? @tag \"^[a-z][^.]*$\"))\n(jsx_closing_element (identifier) @tag (#match? @tag \"^[a-z][^.]*$\"))\n(jsx_self_closing_element (identifier) @tag (#match? @tag \"^[a-z][^.]*$\"))\n\n(jsx_attribute (property_identifier) @attribute)\n(jsx_opening_element ([\"<\" \">\"]) @punctuation.bracket)\n(jsx_closing_element ([\"</\" \">\"]) @punctuation.bracket)\n(jsx_self_closing_element ([\"<\" \"/>\"]) @punctuation.bracket)\n";
Expand description

The syntax highlighting query for JSX.