diff options
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index 6f43667a3..30f25250f 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs | |||
@@ -39,13 +39,14 @@ define_semantic_token_types![ | |||
39 | (BOOLEAN, "boolean"), | 39 | (BOOLEAN, "boolean"), |
40 | (BUILTIN_TYPE, "builtinType"), | 40 | (BUILTIN_TYPE, "builtinType"), |
41 | (ENUM_MEMBER, "enumMember"), | 41 | (ENUM_MEMBER, "enumMember"), |
42 | (ESCAPE_SEQUENCE, "escapeSequence"), | ||
43 | (FORMAT_SPECIFIER, "formatSpecifier"), | ||
42 | (LIFETIME, "lifetime"), | 44 | (LIFETIME, "lifetime"), |
45 | (PUNCTUATION, "punctuation"), | ||
43 | (SELF_KEYWORD, "selfKeyword"), | 46 | (SELF_KEYWORD, "selfKeyword"), |
44 | (TYPE_ALIAS, "typeAlias"), | 47 | (TYPE_ALIAS, "typeAlias"), |
45 | (UNION, "union"), | 48 | (UNION, "union"), |
46 | (UNRESOLVED_REFERENCE, "unresolvedReference"), | 49 | (UNRESOLVED_REFERENCE, "unresolvedReference"), |
47 | (FORMAT_SPECIFIER, "formatSpecifier"), | ||
48 | (ESCAPE_SEQUENCE, "escapeSequence"), | ||
49 | ]; | 50 | ]; |
50 | 51 | ||
51 | macro_rules! define_semantic_token_modifiers { | 52 | macro_rules! define_semantic_token_modifiers { |