Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

fix: set capability augmentSyntaxTokens to false #390

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

willothy
Copy link

Problem: rust-analyzer does not output semantic highlights for every token if the client registers the augmentSyntaxTokens capability, leading to keywords such as dyn and as being highlighted improperly.

Solution: Explicitly disable the capabilty in setup_capabilities().

Before:
before

After:
after

Problem: rust-analyzer does not output semantic highlights for every
token if the client registers the `augmentSyntaxTokens` capability,
leading to keywords such as `dyn` and `as` being highlighted improperly.
Solution: Explicitly disable the capabilty in `setup_capabilities()`.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant