From c88ba9c4bd5b6421566509489e1ab73e87fce455 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 26 Feb 2020 22:10:23 +0100 Subject: [PATCH] Fix --- crates/rust-analyzer/src/conv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/conv.rs b/crates/rust-analyzer/src/conv.rs index 220e0572a66..5596967bd93 100644 --- a/crates/rust-analyzer/src/conv.rs +++ b/crates/rust-analyzer/src/conv.rs @@ -343,7 +343,7 @@ fn conv(self) -> (SemanticTokenType, Vec) { } HighlightTag::LITERAL_STRING => SemanticTokenType::STRING, - HighlightTag::LITERAL_ATTRIBUTE => "attribute".into(), + HighlightTag::LITERAL_ATTRIBUTE => SemanticTokenType::KEYWORD, HighlightTag::KEYWORD => SemanticTokenType::KEYWORD, HighlightTag::KEYWORD_UNSAFE => SemanticTokenType::KEYWORD,