I've been using this plugin for a while now and I'm very grateful for that. However I noticed some issues with the highlighting when tree-sitter is on. I am using neovim 0.8.1. There are those 3 that I have in mind (with screenshots, first with tree-sitter on then with tree-sitter off) :
in typescript (there might be similar errors in other languages) some type qualifiers become the same color as types (base0A). Without tree sitter they are highlighted with base0E.
when editing a .json file, the red background indicating that the format is not (yet) correct has the same color as the forground making it impossible to read. Without tree sitter, the foreground always remain readable.
For the moment I use this workaround for the first two issues (in case someone is interested :
vim.api.nvim_set_hl(0, "@tag", { link = "Identifier" })
vim.api.nvim_set_hl(0, "@type.qualifier", { link = "Keyword" })
I have not found a good workaround for the third one yet.
It would be nice if those things were handled by the colorscheme itself.
Thanks again for your work !
EDIT: I created a pull request that solves this issue (It might not be the best way to do it, I'm really no expert on that subject but I thought I would give it a try).
I've been using this plugin for a while now and I'm very grateful for that. However I noticed some issues with the highlighting when tree-sitter is on. I am using neovim 0.8.1. There are those 3 that I have in mind (with screenshots, first with tree-sitter on then with tree-sitter off) :
For the moment I use this workaround for the first two issues (in case someone is interested : vim.api.nvim_set_hl(0, "@tag", { link = "Identifier" }) vim.api.nvim_set_hl(0, "@type.qualifier", { link = "Keyword" })
I have not found a good workaround for the third one yet. It would be nice if those things were handled by the colorscheme itself. Thanks again for your work !
EDIT: I created a pull request that solves this issue (It might not be the best way to do it, I'm really no expert on that subject but I thought I would give it a try).