diff options
author | Aleksey Kladov <[email protected]> | 2021-01-09 11:41:31 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-09 11:41:31 +0000 |
commit | 6fb52af521ab8ca2fdd3ea7cfa95eaebd0cba1fc (patch) | |
tree | 8d5a1f77e57fb494f47c9092a85d223a9a4346fe /crates/rust-analyzer/src/to_proto.rs | |
parent | 625ec9e1ae69168f194cbc5bf20846870f03e149 (diff) |
Rename dummy -> none
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 204cae265..4cfe6ff51 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -413,7 +413,7 @@ fn semantic_token_type_and_modifiers( | |||
413 | SymbolKind::Macro => lsp_types::SemanticTokenType::MACRO, | 413 | SymbolKind::Macro => lsp_types::SemanticTokenType::MACRO, |
414 | }, | 414 | }, |
415 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, | 415 | HighlightTag::BuiltinType => semantic_tokens::BUILTIN_TYPE, |
416 | HighlightTag::Dummy => semantic_tokens::GENERIC, | 416 | HighlightTag::None => semantic_tokens::GENERIC, |
417 | HighlightTag::ByteLiteral | HighlightTag::NumericLiteral => { | 417 | HighlightTag::ByteLiteral | HighlightTag::NumericLiteral => { |
418 | lsp_types::SemanticTokenType::NUMBER | 418 | lsp_types::SemanticTokenType::NUMBER |
419 | } | 419 | } |