Closed nabaco closed 1 year ago
This doesn't actually work with native LSP--the groups added in this PR were for the old plugin which is deprecated. New built-in support uses @token syntax.
@jdrouhard is there any difference between Treesitter groups and LSP groups?
Regardless, I think we can keep those around until Neovim 0.9 gets released.
They follow the same format and largely intersect, but there are some that are specific to LSP.
The token types and modifiers are applied directly as highlight groups prepended with @
in the current implementation.
This adds proper highlighting to Neovim's native LSP client semantic tokens. Tested with theHamsta/nvim-semantic-tokens. Need to test with https://github.com/neovim/neovim/pull/21100 in Neovim Nightly.