Closed Dosx001 closed 1 year ago
Next time please include the code snippet so I can copy and paste it instead of having to type the code in myself off a screenshot.
This is unrelated to Framer, it's a parser issue. Normally the name inside the tag is parsed as an identifier
node, but in your example there is a dot inside the tag, which causes the parser to parse it as ``
(member_expression
(identifier)
(property_identifier))
I can highlight the entire expression or only the part before the dot. Which do you think makes more sense?
Screenshots for comparison:
@HiPhish The second image looks good. Thanks for the good work!
Check the current master
branch.
It would be nice if there were improvements to JSX queries to support Framer Motion.
This is how rainbow-delimiters.nvim renders with React and Framer Motion.
This is how it looked on p00f/nvim-ts-rainbow. It also included the "<" and ">" symbols, it would also be nice if that functionality could be duplicated.