File tree Expand file tree Collapse file tree 1 file changed +24
-54
lines changed
extensions/zig/languages/zig Expand file tree Collapse file tree 1 file changed +24
-54
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ field_constant: (IDENTIFIER) @constant
103
103
(BlockLabel (IDENTIFIER) @tag )
104
104
105
105
[
106
+ "fn"
106
107
"asm"
107
108
"defer"
108
109
"errdefer"
@@ -112,84 +113,53 @@ field_constant: (IDENTIFIER) @constant
112
113
"enum"
113
114
"opaque"
114
115
"error"
115
- ] @keyword
116
-
117
- [
116
+ "try"
117
+ "catch"
118
+ "for"
119
+ "while"
120
+ "break"
121
+ "continue"
122
+ "const"
123
+ "var"
124
+ "volatile"
125
+ "allowzero"
126
+ "noalias"
127
+ "addrspace"
128
+ "align"
129
+ "callconv"
130
+ "linksection"
131
+ "comptime"
132
+ "export"
133
+ "extern"
134
+ "inline"
135
+ "noinline"
136
+ "packed"
137
+ "pub"
138
+ "threadlocal"
118
139
"async"
119
140
"await"
120
141
"suspend"
121
142
"nosuspend"
122
143
"resume"
123
- ] @keyword.coroutine
124
-
125
- [
126
- "fn"
127
- ] @keyword
128
-
129
- [
130
144
"and"
131
145
"or"
132
146
"orelse"
133
- ] @operator
134
-
135
- [
136
147
"return"
137
- ] @keyword.return
138
-
139
- [
140
148
"if"
141
149
"else"
142
150
"switch"
143
- ] @keyword.control
144
-
145
- [
146
- "for"
147
- "while"
148
- "break"
149
- "continue"
150
151
] @keyword
151
152
152
153
[
153
154
"usingnamespace"
154
155
] @constant
155
156
156
- [
157
- "try"
158
- "catch"
159
- ] @keyword
160
-
161
157
[
162
158
"anytype"
163
159
"anyframe"
164
160
(BuildinTypeExpr)
165
161
] @type
166
162
167
- [
168
- "const"
169
- "var"
170
- "volatile"
171
- "allowzero"
172
- "noalias"
173
- ] @keyword
174
-
175
- [
176
- "addrspace"
177
- "align"
178
- "callconv"
179
- "linksection"
180
- ] @keyword.storage
181
-
182
- [
183
- "comptime"
184
- "export"
185
- "extern"
186
- "inline"
187
- "noinline"
188
- "packed"
189
- "pub"
190
- "threadlocal"
191
- ] @keyword
192
-
193
163
[
194
164
"null"
195
165
"unreachable"
You can’t perform that action at this time.
0 commit comments