Skip to content

Commit 379aaca

Browse files
committed
removed use keyword and promise type
1 parent 00e2fbd commit 379aaca

File tree

3 files changed

+287
-287
lines changed

3 files changed

+287
-287
lines changed

Syntaxes/Zig.YAML-tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ repository:
174174
match: '(?<!\w)(@import|@cImport|@cInclude)\b'
175175

176176
- name: keyword.other.usingnamespace.zig
177-
match: '\b(usingnamespace|use)\b'
177+
match: '\b(usingnamespace)\b'
178178

179179
operators:
180180
patterns:
@@ -206,7 +206,7 @@ repository:
206206
storage:
207207
patterns:
208208
- name: storage.type.zig
209-
match: '\b(bool|void|noreturn|type|anyerror|anyframe|promise)\b'
209+
match: '\b(bool|void|noreturn|type|anyerror|anyframe)\b'
210210

211211
- name: storage.type.integer.zig
212212
match: '\b(?<!\.)([iu][0-9]\d*|[iu]size|comptime_int)\b'

Syntaxes/Zig.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@
422422
</dict>
423423
<dict>
424424
<key>match</key>
425-
<string>\b(usingnamespace|use)\b</string>
425+
<string>\b(usingnamespace)\b</string>
426426
<key>name</key>
427427
<string>keyword.other.usingnamespace.zig</string>
428428
</dict>
@@ -668,7 +668,7 @@
668668
<array>
669669
<dict>
670670
<key>match</key>
671-
<string>\b(bool|void|noreturn|type|anyerror|anyframe|promise)\b</string>
671+
<string>\b(bool|void|noreturn|type|anyerror|anyframe)\b</string>
672672
<key>name</key>
673673
<string>storage.type.zig</string>
674674
</dict>

0 commit comments

Comments
 (0)