diff options
-rw-r--r-- | crates/rust-analyzer/src/to_proto.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs index 4500d4982..33c2fd595 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -264,7 +264,7 @@ fn semantic_token_type_and_modifiers( | |||
264 | HighlightTag::Trait => lsp_types::SemanticTokenType::INTERFACE, | 264 | HighlightTag::Trait => lsp_types::SemanticTokenType::INTERFACE, |
265 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, | 265 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, |
266 | HighlightTag::SelfType => lsp_types::SemanticTokenType::TYPE, | 266 | HighlightTag::SelfType => lsp_types::SemanticTokenType::TYPE, |
267 | HighlightTag::Field => lsp_types::SemanticTokenType::MEMBER, | 267 | HighlightTag::Field => lsp_types::SemanticTokenType::PROPERTY, |
268 | HighlightTag::Function => lsp_types::SemanticTokenType::FUNCTION, | 268 | HighlightTag::Function => lsp_types::SemanticTokenType::FUNCTION, |
269 | HighlightTag::Module => lsp_types::SemanticTokenType::NAMESPACE, | 269 | HighlightTag::Module => lsp_types::SemanticTokenType::NAMESPACE, |
270 | HighlightTag::Constant => { | 270 | HighlightTag::Constant => { |