File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed
crates/languages/src/rust Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 6
6
(self) @variable.special
7
7
(field_identifier) @property
8
8
9
- (shorthand_field_initializer
10
- (identifier) @property )
11
-
12
9
(trait_item name: (type_identifier) @type.interface )
13
10
(impl_item trait: (type_identifier) @type.interface )
14
11
(abstract_type trait: (type_identifier) @type.interface )
41
38
(identifier) @function.special
42
39
(scoped_identifier
43
40
name: (identifier) @function.special )
44
- ]
45
- "!" @function.special )
41
+ ])
46
42
47
43
(macro_definition
48
44
name: (identifier) @function.special.definition )
49
45
50
- (mod_item
51
- name: (identifier) @module )
52
-
53
- (visibility_modifier [
54
- (crate) @keyword
55
- (super) @keyword
56
- ])
57
-
58
46
; Identifier conventions
59
47
60
48
; Assume uppercase names are types/enum-constructors
127
115
"where"
128
116
"while"
129
117
"yield"
118
+ (crate)
130
119
(mutable_specifier)
120
+ (super)
131
121
] @keyword
132
122
133
123
[
199
189
operator: "/" @operator
200
190
201
191
(lifetime) @lifetime
202
- (lifetime (identifier) @lifetime )
203
192
204
193
(parameter (identifier) @variable.parameter )
205
194
You can’t perform that action at this time.
0 commit comments