@@ -12,7 +12,7 @@ set cpo&vim
12
12
13
13
syntax keyword zigBoolean true false
14
14
syntax keyword zigNull null
15
- syntax keyword zigType bool void type anytype anyerror anyframe volatile linksection noreturn allowzero anyopaque
15
+ syntax keyword zigType bool void type anytype anyerror anyframe noreturn anyopaque
16
16
syntax keyword zigType i0 u0 isize usize comptime_int comptime_float
17
17
syntax keyword zigType f16 f32 f64 f80 f128
18
18
syntax keyword zigType c_char c_short c_ushort c_int c_uint c_long c_ulong c_longlong c_ulonglong c_longdouble
@@ -22,13 +22,12 @@ syntax keyword zigRepeat while for
22
22
syntax keyword zigComparatorWord and or orelse
23
23
syntax keyword zigStructure struct enum union error packed opaque
24
24
syntax keyword zigException error
25
- syntax keyword zigStorageClass
25
+ syntax keyword zigStorageClass addrspace align allowzero callconv extern export linksection threadlocal volatile
26
26
syntax keyword zigDummyVariable _
27
27
syntax keyword zigKeyword var const fn try test pub comptime usingnamespace
28
28
syntax keyword zigStatement return break continue asm defer errdefer
29
- syntax keyword zigMacro export extern
30
29
syntax keyword zigAsync async nosuspend await suspend resume
31
- syntax keyword zigPreProc addrspace align callconv catch inline noalias noinline threadlocal
30
+ syntax keyword zigPreProc catch inline noalias noinline
32
31
syntax keyword zigBuiltinFn @addrSpaceCast @addWithOverflow @alignCast @alignOf @as @atomicLoad @atomicRmw @atomicStore @bitCast @bitOffsetOf @bitSizeOf @branchHint @breakpoint @mulAdd @byteSwap @bitReverse @offsetOf @call @cDefine @cImport @cInclude @clz @cmpxchgStrong @cmpxchgWeak @compileError @compileLog @constCast @ctz @cUndef @cVaArg @cVaCopy @cVaEnd @cVaStart @disableInstrumentation @disableIntrinsics @divExact @divFloor @divTrunc @embedFile @enumFromInt @errorFromInt @errorName @errorReturnTrace @errorCast @export @extern @field @fieldParentPtr @FieldType @floatCast @floatFromInt @frameAddress @hasDecl @hasField @import @inComptime @intCast @intFromBool @intFromEnum @intFromError @intFromFloat @intFromPtr @max @memcpy @memmove @memset @min @wasmMemorySize @wasmMemoryGrow @mod @mulWithOverflow @panic @popCount @prefetch @ptrCast @ptrFromInt @rem @returnAddress @select @setEvalBranchQuota @setFloatMode @setRuntimeSafety @shlExact @shlWithOverflow @shrExact @shuffle @sizeOf @splat @reduce @src @sqrt @sin @cos @tan @exp @exp2 @log @log2 @log10 @abs @floor @ceil @trunc @round @subWithOverflow @tagName @This @trap @truncate @Type @typeInfo @typeName @TypeOf @unionInit @Vector @volatileCast @workGroupId @workGroupSize @workItemId
33
32
34
33
syntax match zigType " \v <[iu][1-9]\d *>"
@@ -92,12 +91,12 @@ highlight default link zigNumber Number
92
91
highlight default link zigArrowCharacter zigOperator
93
92
highlight default link zigOperator Operator
94
93
highlight default link zigStructure Structure
95
- highlight default link zigMacro Macro
96
94
highlight default link zigStatement Statement
97
95
highlight default link zigConditional Conditional
98
96
highlight default link zigComparatorWord zigStatement
99
97
highlight default link zigRepeat Repeat
100
98
highlight default link zigSpecial Special
99
+ highlight default link zigStorageClass StorageClass
101
100
highlight default link zigAsync Keyword
102
101
highlight default link zigPreProc PreProc
103
102
highlight default link zigException Exception
0 commit comments