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

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