diff options
author | Aleksey Kladov <[email protected]> | 2020-12-19 14:16:05 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-12-19 14:16:05 +0000 |
commit | 113688cef0e98c91e803d94e4b3ab90682cc8a1d (patch) | |
tree | a00820d0b682f01f2f01d21040a577aedb53105d /crates/rust-analyzer/src/to_proto.rs | |
parent | a13947abe62a44c4ffa802be54e041a3d18e7f2b (diff) |
Clarify the meaning of no-op highlight tag
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 | } |