diff options
author | Lukas Wirth <[email protected]> | 2020-12-23 16:15:01 +0000 |
---|---|---|
committer | Lukas Wirth <[email protected]> | 2020-12-24 14:40:18 +0000 |
commit | 42e3f97c300c24b6ff9ff96ad0c24d386d3a253b (patch) | |
tree | 4142c4c99b034035bbc4e2b35ecd0f7e185b6855 /crates/rust-analyzer/src/semantic_tokens.rs | |
parent | e1acb0ca5ca2162be068fd6a07f7cc4ae171ed81 (diff) |
Support labels in reference search
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index 1daad1c98..c2f6a655d 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs | |||
@@ -45,6 +45,7 @@ define_semantic_token_types![ | |||
45 | (FORMAT_SPECIFIER, "formatSpecifier"), | 45 | (FORMAT_SPECIFIER, "formatSpecifier"), |
46 | (GENERIC, "generic"), | 46 | (GENERIC, "generic"), |
47 | (LIFETIME, "lifetime"), | 47 | (LIFETIME, "lifetime"), |
48 | (LABEL, "label"), | ||
48 | (PUNCTUATION, "punctuation"), | 49 | (PUNCTUATION, "punctuation"), |
49 | (SELF_KEYWORD, "selfKeyword"), | 50 | (SELF_KEYWORD, "selfKeyword"), |
50 | (TYPE_ALIAS, "typeAlias"), | 51 | (TYPE_ALIAS, "typeAlias"), |