@@ -45,7 +45,8 @@
4545 "'" @label
4646 (identifier) @label)
4747(loop_label
48− (identifier) @type)
48+ "'" @label
49+ (identifier) @label)
4950
5051; ---
5152; Punctuation
@@ -102,8 +103,6 @@
102103(closure_parameters
103104 (identifier) @variable.parameter)
104105
105−
106−
107106; -------
108107; Keywords
109108; -------
@@ -129,9 +128,7 @@
129128[
130129 "break"
131130 "continue"
132−
133131 "return"
134−
135132 "await"
136133] @keyword.control.return
137134
@@ -154,10 +151,7 @@
154151 "trait"
155152 "for"
156153
157− "unsafe"
158154 "default"
159− "macro_rules!"
160−
161155 "async"
162156] @keyword
163157
@@ -165,13 +159,13 @@
165159 "struct"
166160 "enum"
167161 "union"
168−
169162 "type"
170163] @keyword.storage.type
171164
172165"let" @keyword.storage
173−
174166"fn" @keyword.function
167+"unsafe" @keyword.special
168+"macro_rules!" @function.macro
175169
176170(mutable_specifier) @keyword.storage.modifier.mut
177171
@@ -202,11 +196,11 @@
202196
203197(call_expression
204198 function: [
205− ((identifier) @type.variant
206− (#match? @type.variant "^[A-Z]"))
199+ ((identifier) @type.enum.variant
200+ (#match? @type.enum.variant "^[A-Z]"))
207201 (scoped_identifier
208− name: ((identifier) @type.variant
209− (#match? @type.variant "^[A-Z]")))
202+ name: ((identifier) @type.enum.variant
203+ (#match? @type.enum.variant "^[A-Z]")))
210204 ])
211205
212206; ---
@@ -237,8 +231,6 @@
237231((identifier) @type
238232 (#match? @type "^[A-Z]"))
239233
240−
241−
242234(attribute
243235 (identifier) @_macro
244236 arguments: (token_tree (identifier) @constant.numeric.integer)
@@ -246,7 +238,6 @@
246238)
247239@special
248240
249−
250241; -------
251242; Functions
252243; -------
@@ -303,8 +294,6 @@
303294(metavariable) @variable.parameter
304295(fragment_specifier) @type
305296
306−
307−
308297; -------
309298; Operators
310299; -------
@@ -350,8 +339,6 @@
350339 "'"
351340] @operator
352341
353−
354−
355342; -------
356343; Paths
357344; -------
@@ -382,8 +369,6 @@
382369(scoped_type_identifier
383370 path: (identifier) @namespace)
384371
385−
386−
387372; -------
388373; Remaining Identifiers
389374; -------