aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/semantic_tokens.rs
diff options
context:
space:
mode:
authorAramis Razzaghipour <[email protected]>2021-05-23 14:45:26 +0100
committerAramis Razzaghipour <[email protected]>2021-05-24 05:53:48 +0100
commit4fd5248749202e0578d719bc5480171a85358836 (patch)
tree69d1e6928bb9b7fa527835703890c4ee5343e5ca /crates/rust-analyzer/src/semantic_tokens.rs
parent064ff633f6055ed35022222c89af01d3f9943e3c (diff)
Add highlighting of items from other crates
Diffstat (limited to 'crates/rust-analyzer/src/semantic_tokens.rs')
-rw-r--r--crates/rust-analyzer/src/semantic_tokens.rs1
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 4fd576adb..9ebe000b5 100644
--- a/crates/rust-analyzer/src/semantic_tokens.rs
+++ b/crates/rust-analyzer/src/semantic_tokens.rs
@@ -92,6 +92,7 @@ define_semantic_token_modifiers![
92 (MUTABLE, "mutable"), 92 (MUTABLE, "mutable"),
93 (CONSUMING, "consuming"), 93 (CONSUMING, "consuming"),
94 (ASYNC, "async"), 94 (ASYNC, "async"),
95 (FOREIGN, "foreign"),
95 (UNSAFE, "unsafe"), 96 (UNSAFE, "unsafe"),
96 (ATTRIBUTE_MODIFIER, "attribute"), 97 (ATTRIBUTE_MODIFIER, "attribute"),
97 (TRAIT_MODIFIER, "trait"), 98 (TRAIT_MODIFIER, "trait"),