diff options
author | kjeremy <[email protected]> | 2020-09-01 18:10:23 +0100 |
---|---|---|
committer | kjeremy <[email protected]> | 2020-09-02 14:40:59 +0100 |
commit | 36692bdffa59accee75e34647d83cbd8190b7906 (patch) | |
tree | 5f5a681b1770886094f96642f768c54a3614555e /crates/rust-analyzer/src/to_proto.rs | |
parent | b5272573300766d0c8417161c1a4f959abc9ff43 (diff) |
Switch to upstream ENUM_MEMBER
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 16aab52c2..dcbf837d6 100644 --- a/crates/rust-analyzer/src/to_proto.rs +++ b/crates/rust-analyzer/src/to_proto.rs | |||
@@ -369,7 +369,7 @@ fn semantic_token_type_and_modifiers( | |||
369 | mods |= lsp_types::SemanticTokenModifier::STATIC; | 369 | mods |= lsp_types::SemanticTokenModifier::STATIC; |
370 | lsp_types::SemanticTokenType::VARIABLE | 370 | lsp_types::SemanticTokenType::VARIABLE |
371 | } | 371 | } |
372 | HighlightTag::EnumVariant => semantic_tokens::ENUM_MEMBER, | 372 | HighlightTag::EnumVariant => lsp_types::SemanticTokenType::ENUM_MEMBER, |
373 | HighlightTag::Macro => lsp_types::SemanticTokenType::MACRO, | 373 | HighlightTag::Macro => lsp_types::SemanticTokenType::MACRO, |
374 | HighlightTag::ValueParam => lsp_types::SemanticTokenType::PARAMETER, | 374 | HighlightTag::ValueParam => lsp_types::SemanticTokenType::PARAMETER, |
375 | HighlightTag::Local => lsp_types::SemanticTokenType::VARIABLE, | 375 | HighlightTag::Local => lsp_types::SemanticTokenType::VARIABLE, |