norcalli / nvim-colorizer.lua

The fastest Neovim colorizer.
Other
2.25k stars 117 forks source link

Treesitter issue #47

Open joe23rep opened 3 years ago

joe23rep commented 3 years ago

hey- ive an issue with treesitter and colorizer. i dont know one which side the issue is so i try it here first.

ive set colorizer up that it shows the colors in a block in the background. now this always worked fine. however- since ive treesitter installed treesitters colors are more important than colorizers colors. so lets say ive a hex code for a blue color. but that part of the syntax gets also colored blue from the theme. colorizer now doesnt change the text color and ive a blue text color from the theme with a blue background from colorizer. that means i dont see the color value anymore.

is there anything u could change that colorizer forces certain text colors depending on the colors of highlighted part?

tried sourcing colorizer after treesitter but that didnt work out