tree-sitter highlights broken since introduction of Neovim (nightly) default colourscheme
Note: I just wanted to open this for reference, and am not asking for a fix, as I am on neovim nightly :smile:
Hey :wave:
I've noticed some broken tree-sitter highlighting and git bisected it to https://github.com/neovim/neovim/pull/26334.
Specifically, Neovim used to highlight according to the last match in the highlights.scm file.
Before the PR:
Notice how spec matches @variable.haskell last and is highlighted accordingly
After the PR:
Now spec is highlighted as @function.haskell
I've tested it with another coluorscheme (catppuccin), and cannot reproduce the behaviour:
So it appears to be specific to this plugin.
This is because this plugin doesn't define all tree-sitter highlight groups, falling back to Neovim's defaults (many of which are currently undefined on nightly).
Sorry, I had some exams so I didn't have time to respond to issues earlier
Sorry, I had some exams so I didn't have time to respond to issues earlier
No worries. Hope they went well :smile:
Thanks for maintaining this awesome colorscheme!