Adds new tsxComponentName option which will detect react components using component naming conventions.
It's useful to have react components highlighted differently from html elements. I used the syntax matching already used in vim-jsx-pretty and tested it locally.
Please let me know if this is something you would consider merging and/or if there are any updates that would make it more useful.
Adds new
tsxComponentName
option which will detect react components using component naming conventions.It's useful to have react components highlighted differently from html elements. I used the syntax matching already used in vim-jsx-pretty and tested it locally.
Please let me know if this is something you would consider merging and/or if there are any updates that would make it more useful.
Thank you so much for your work on this plugin!