about summary refs log tree commit diff
path: root/editors/code
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-04 17:33:16 +0000
committerGitHub <noreply@github.com>2021-12-04 17:33:16 +0000
commit372a7cf98171eba668daa29aa94e0986a78022bd (patch)
tree4c1ef2acae67582e02a0adcd8e84420ced268664 /editors/code
parentb327cf3d0cb2f13af850400b341ea81c878ecf42 (diff)
parent3472105ad9cef06d7a3a032047bcbf06bc80fe26 (diff)
downloadrust-372a7cf98171eba668daa29aa94e0986a78022bd.tar.gz
rust-372a7cf98171eba668daa29aa94e0986a78022bd.zip
Merge #10929
10929: internal: Split up macro/attribute semantic tokens a bit more r=Veykril a=Veykril

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/9172

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/package.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index 13b0867c251..26f21f73d45 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -1126,6 +1126,11 @@
                 "description": "Style for attributes"
             },
             {
+                "id": "attributeBracket",
+                "description": "Style for attribute invocation brackets, that is the `#[` and `]` tokens",
+                "superType": "punctuation"
+            },
+            {
                 "id": "bitwise",
                 "description": "Style for bitwise operators",
                 "superType": "operator"
@@ -1180,6 +1185,11 @@
                 "description": "Style for const generics"
             },
             {
+                "id": "derive",
+                "description": "Style for derives",
+                "superType": "attribute"
+            },
+            {
                 "id": "dot",
                 "description": "Style for .",
                 "superType": "punctuation"