diff options
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/conv.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/conv.rs b/crates/rust-analyzer/src/conv.rs index 220e0572a..5596967bd 100644 --- a/crates/rust-analyzer/src/conv.rs +++ b/crates/rust-analyzer/src/conv.rs | |||
@@ -343,7 +343,7 @@ impl Conv for HighlightTag { | |||
343 | } | 343 | } |
344 | 344 | ||
345 | HighlightTag::LITERAL_STRING => SemanticTokenType::STRING, | 345 | HighlightTag::LITERAL_STRING => SemanticTokenType::STRING, |
346 | HighlightTag::LITERAL_ATTRIBUTE => "attribute".into(), | 346 | HighlightTag::LITERAL_ATTRIBUTE => SemanticTokenType::KEYWORD, |
347 | 347 | ||
348 | HighlightTag::KEYWORD => SemanticTokenType::KEYWORD, | 348 | HighlightTag::KEYWORD => SemanticTokenType::KEYWORD, |
349 | HighlightTag::KEYWORD_UNSAFE => SemanticTokenType::KEYWORD, | 349 | HighlightTag::KEYWORD_UNSAFE => SemanticTokenType::KEYWORD, |