elisp-tree-sitter
elisp-tree-sitter copied to clipboard
[javascript] Handle jsx nodes
<button className='primary' type='button'>
Click Me
</button>;
<button />;
<Button />;

Expected button ~and Button to have the same color~ to have some color like Button does, and do some coloring to the properties className and type
debug:
program:
expression_statement:
jsx_element:
jsx_opening_element:
identifier:
jsx_attribute:
property_identifier:
string:
jsx_attribute:
property_identifier:
string:
jsx_text:
jsx_closing_element:
identifier:
expression_statement:
jsx_self_closing_element:
identifier:
expression_statement:
jsx_self_closing_element:
identifier: