Description
Language servers can provide additional, detailed, highlights for code called 'semantic tokens'. These provide more contextual information about symbols. For instance, the different between a global constant and a constant variable.
These should work together with tree-sitter highlights to improve syntax highlighting clarity and quality.
Alternatives Considered
Not supporting semantic highlights 👎
Additional Context
This will be implemented in a few phases:
Related issues:
Screenshots
From VSCode's semantic highlight guide:
Without semantic highlights:

With semantic highlights:

Description
Language servers can provide additional, detailed, highlights for code called 'semantic tokens'. These provide more contextual information about symbols. For instance, the different between a global constant and a constant variable.
These should work together with tree-sitter highlights to improve syntax highlighting clarity and quality.
Alternatives Considered
Not supporting semantic highlights 👎
Additional Context
This will be implemented in a few phases:
Related issues:
Screenshots
From VSCode's semantic highlight guide:
Without semantic highlights:

With semantic highlights:
