Closed Redoxahmii closed 6 months ago
created a pull which fixes this.
I don't see the same issue in <>
colors in JSX 🤔
Treesitter
- @operator.javascript links to @operator javascript
- @tag.delimiter.javascript links to Special javascript
I did test this on v0.9.5 and and currentl on nightly build v0.10.0 and for me it shows like this. I do not have another system on which i could test this.
Can you share what the Inspect
output looks like?
Mine is:
In my case, @tag.delimiter.javascript
is applied to the angle brackets.
This theme has Special = { fg = c.orange500 }
, so they are orange.
Can you check javascript
is installed properly? Run TSInstallInfo
.
As you know, tokyonight doesn't have @tag.delimiter.javascript
. So, I don't understand why it is necessary on this theme.
For me it also outputs the same but the colors are evident as they are.
This occurs only in jsx
and html
files but in tsx
it correctly uses the right colors.
I have tested on a clean build of LazyVim too without any of my configuration and the results stay the same.
Explicitly specifying it might make it a better solution so there are not any edge cases.
These screenshots on this PR also show the same issue occurs in Vue as well and is not something that is occurring on only my setup.
Did you check docs and existing issues?
Neovim version (nvim -v)
0.10
Operating system/version
Arch Linux
Describe the bug
The colors are not properly working for the html tags which you can see from the image below:
On a .tsx files this issue goes away.
Steps To Reproduce
Expected Behavior
The colors should be consistent as they are when using .tsx format but instead are not working properly.
Repro