ishan9299 / nvim-solarized-lua

solarized colorscheme in lua for nvim 0.5
MIT License
183 stars 53 forks source link

All highlights, almost no normal text with TreeSitter highlights #26

Closed thmxv closed 2 years ago

thmxv commented 3 years ago

When enabling tree-sitter highlights, almost all the code gets highlighted (mostly blue) and only the ; stays in the normal text color. I joined a screenshot of lua code, but it is the same with python (almost all in blue) and for .vim files it is mostly orange/yellow but still almost nothing in the normal color.

Screenshot from 2021-08-02 15-48-22

jeanlucthumm commented 3 years ago

Same issue here;

image

carlsmedstad commented 3 years ago

I have the same issue.

tubbo commented 3 years ago

Yeah for some reason this color scheme makes TypeScript look like absolute trash.

This plugin + tree-sitter:

solarized + tree-sitter

Regular Vim's NeoSolarized on its own:

neosolarized

Red is for errors, why is it all over my JSX?? ;)

Mr-LLLLL commented 2 years ago

i hava the same problem

Mr-LLLLL commented 2 years ago

f found is "set termguicolors" in init.vim, treesitter hight is not word

ishan9299 commented 2 years ago

@thmxv should be fixed now.

thmxv commented 2 years ago

No, still wall of blue with a bit of orange and still close to nothing in the normal foreground color, for pretty much all the programming language I use. The only thing I can see different is the variables in lua.

Maybe this is a defect of treestiter or the base solarized theme that just go overboard and cannot decide on what to (not) highlight.

ishan9299 commented 2 years ago

@thmxv Previously I made only the luaTSVariable as normal. Now I have made TSVariable as Normal can you now?

thmxv commented 2 years ago

It is much better now.

ishan9299 commented 2 years ago

If any more changes are needed please do tell. Closing for now.

folago commented 2 years ago

I still have the wall of blue/green in Golang as the two top screenshots. And imports and parenthesis are red. If I can provide more information to fix this let me know. image

edit: adding screen shot with treesitter highlight disabled

image