diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-03-18 21:32:34 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2021-03-18 21:32:34 +0000 |
commit | 48d6324a3f8a48efe3275424584a753c4e60d762 (patch) | |
tree | cda6b85e9f08457f016490c551158fc5b59d8cb6 /crates/rust-analyzer/src/semantic_tokens.rs | |
parent | 5e82d3172282e159e539569b80b3135c17b972f0 (diff) | |
parent | 8c0f454d115a5ce5fa4a9a0aa7116eac99a292f9 (diff) |
Merge #8086
8086: Use a highlight modifier for intra doc links r=Veykril a=Veykril
Co-authored-by: Lukas Wirth <[email protected]>
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r-- | crates/rust-analyzer/src/semantic_tokens.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/semantic_tokens.rs b/crates/rust-analyzer/src/semantic_tokens.rs index 0cb7d12a7..a3c5e9ccf 100644 --- a/crates/rust-analyzer/src/semantic_tokens.rs +++ b/crates/rust-analyzer/src/semantic_tokens.rs | |||
@@ -52,7 +52,6 @@ define_semantic_token_types![ | |||
52 | (ESCAPE_SEQUENCE, "escapeSequence"), | 52 | (ESCAPE_SEQUENCE, "escapeSequence"), |
53 | (FORMAT_SPECIFIER, "formatSpecifier"), | 53 | (FORMAT_SPECIFIER, "formatSpecifier"), |
54 | (GENERIC, "generic"), | 54 | (GENERIC, "generic"), |
55 | (INTRA_DOC_LINK, "intraDocLink"), | ||
56 | (LABEL, "label"), | 55 | (LABEL, "label"), |
57 | (LIFETIME, "lifetime"), | 56 | (LIFETIME, "lifetime"), |
58 | (PARENTHESIS, "parenthesis"), | 57 | (PARENTHESIS, "parenthesis"), |
@@ -90,6 +89,7 @@ define_semantic_token_modifiers![ | |||
90 | (UNSAFE, "unsafe"), | 89 | (UNSAFE, "unsafe"), |
91 | (ATTRIBUTE_MODIFIER, "attribute"), | 90 | (ATTRIBUTE_MODIFIER, "attribute"), |
92 | (CALLABLE, "callable"), | 91 | (CALLABLE, "callable"), |
92 | (INTRA_DOC_LINK, "intraDocLink"), | ||
93 | ]; | 93 | ]; |
94 | 94 | ||
95 | #[derive(Default)] | 95 | #[derive(Default)] |