Everblush / nvim

A port of everblush.vim but written in lua
MIT License
239 stars 17 forks source link

Use nvim-treesitter's new highlighting groups #15

Closed krmbd closed 1 year ago

krmbd commented 1 year ago

Hello,

I just tried to install the everblush colorscheme for Neovim. However, the colors look completely different from the preview image in the README, as you can see below.

The issue seems to be related to the following breaking change in nvim-treesitter: https://github.com/nvim-treesitter/nvim-treesitter/issues/2293#issuecomment-1279974776 The "TS" highlighting groups have been rendered obsolete, and this is what causes the issue for me.

I have solved the issue for my own config, using this temporary fix I found online: https://gist.github.com/rockerBOO/be0770242db9b7215b8e83e135516a65 However, this is more of a band-aid rather than a true fix!

diniamo commented 1 year ago

I've already been working on this, your snippet might be useful though.

diniamo commented 1 year ago

As you can see, I made the PR, I would appreciate if you looked at it.