diff options
Diffstat (limited to 'crates/rust-analyzer/src/to_proto.rs')
-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 9bea7366b..e0561b5a7 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -406,7 +406,7 @@ fn semantic_token_type_and_modifiers( | |||
406 | SymbolKind::Macro => lsp_types::SemanticTokenType::MACRO, | 406 | SymbolKind::Macro => lsp_types::SemanticTokenType::MACRO, |
407 | }, | 407 | }, |
408 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, | 408 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, |
409 | HighlightTag::Generic => semantic_tokens::GENERIC, | 409 | HighlightTag::Dummy => semantic_tokens::GENERIC, |
410 | HighlightTag::ByteLiteral | HighlightTag::NumericLiteral => { | 410 | HighlightTag::ByteLiteral | HighlightTag::NumericLiteral => { |
411 | lsp_types::SemanticTokenType::NUMBER | 411 | lsp_types::SemanticTokenType::NUMBER |
412 | } | 412 | } |