diff options
Diffstat (limited to 'crates/rust-analyzer/src/to_proto.rs')
-rw-r--r-- | crates/rust-analyzer/src/to_proto.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index a8e2e535f..09343f925 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -296,6 +296,7 @@ fn semantic_token_type_and_modifiers( | |||
296 | 296 | ||
297 | for modifier in highlight.modifiers.iter() { | 297 | for modifier in highlight.modifiers.iter() { |
298 | let modifier = match modifier { | 298 | let modifier = match modifier { |
299 | HighlightModifier::Attribute => semantic_tokens::ATTRIBUTE_MODIFIER, | ||
299 | HighlightModifier::Definition => lsp_types::SemanticTokenModifier::DECLARATION, | 300 | HighlightModifier::Definition => lsp_types::SemanticTokenModifier::DECLARATION, |
300 | HighlightModifier::ControlFlow => semantic_tokens::CONTROL_FLOW, | 301 | HighlightModifier::ControlFlow => semantic_tokens::CONTROL_FLOW, |
301 | HighlightModifier::Mutable => semantic_tokens::MUTABLE, | 302 | HighlightModifier::Mutable => semantic_tokens::MUTABLE, |