-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React components not being highlighted #7
Comments
Thank you! and that's a nice font in your screenshot. As for the colors, I will try and see if there are other color schemes that have addressed this issue; if not, this could be a limitation with the highlight groups available for customization in neovim. |
I traced this down to the highlight group I have prepared a branch for you to try it out. Change your packer config to the following and use { 'kvrohit/rasmus.nvim', branch = 'ts-hl-tweaks' } Let me know if this works for you. However, I do not have plans to merge this into the |
Thanks for the fix! It does now highlight the JSX. But as you mentioned, it affects other groups, like the imported class inside the normal TS part of the code. This is a good start however! I'm going to see if I can figure out something. Maybe https://github.com/sainnhe/gruvbox-material can provide some ideas. P.S. the terminal font I'm using is DaddyTimeMono Nerd Font. |
First of all, I want to say great work on this plugin. I tried numerous themes and I settled on this one for it's balance of legibility and coherent aesthetic.
The issue I'm having is that React components are not highlighted the same way standard html tags are:
These are React components imported like so
It appears as if they are using the monochrome palette. I have
tree-sitter
installed also.I'll try to dig into code and make a fix but want to document this issue as a start.
The text was updated successfully, but these errors were encountered: