diff options
author | George Fraser <[email protected]> | 2020-11-07 18:50:57 +0000 |
---|---|---|
committer | George Fraser <[email protected]> | 2020-11-07 18:50:57 +0000 |
commit | fe435ffb2728be87df1bba4d0ef5ae8b9626c120 (patch) | |
tree | 84355a59d504dfc0889e11d89cdbd927e78a24e6 /crates | |
parent | f3fe6561c00a07a7d6131db42983cbc3eb658957 (diff) |
Use builtin scopes more
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index e7991fd28..783b3df1e 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs | |||
@@ -40,7 +40,7 @@ macro_rules! define_semantic_token_types { | |||
40 | define_semantic_token_types![ | 40 | define_semantic_token_types![ |
41 | (ATTRIBUTE, "attribute"), | 41 | (ATTRIBUTE, "attribute"), |
42 | (BOOLEAN, "boolean"), | 42 | (BOOLEAN, "boolean"), |
43 | (BUILTIN_TYPE, "builtinType"), | 43 | (BUILTIN_TYPE, "type.defaultLibrary"), |
44 | (ESCAPE_SEQUENCE, "escapeSequence"), | 44 | (ESCAPE_SEQUENCE, "escapeSequence"), |
45 | (FORMAT_SPECIFIER, "formatSpecifier"), | 45 | (FORMAT_SPECIFIER, "formatSpecifier"), |
46 | (GENERIC, "generic"), | 46 | (GENERIC, "generic"), |
@@ -70,7 +70,7 @@ macro_rules! define_semantic_token_modifiers { | |||
70 | } | 70 | } |
71 | 71 | ||
72 | define_semantic_token_modifiers![ | 72 | define_semantic_token_modifiers![ |
73 | (CONSTANT, "constant"), | 73 | (CONSTANT, "readonly"), |
74 | (CONTROL_FLOW, "controlFlow"), | 74 | (CONTROL_FLOW, "controlFlow"), |
75 | (INJECTED, "injected"), | 75 | (INJECTED, "injected"), |
76 | (MUTABLE, "mutable"), | 76 | (MUTABLE, "mutable"), |