summaryrefslogtreecommitdiffstats
path: root/runtime/syntax
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2023-10-19 10:16:59 -0500
committerGitHub <noreply@github.com>2023-10-19 17:16:59 +0200
commite08bfef88bd05a9d27ee16c57cd10173e280f600 (patch)
tree745111426085749fff9daebc9f430e3d565528fa /runtime/syntax
parent198734897ead52f975d209bf2cd4f5c6f6ca200d (diff)
runtime(zig): Update Zig runtime files (#13388)
Update runtime files from upstream (https://github.com/zig/zig.vim) at commit 54c216e5306a5c3878a60596aacb94dca8652ab9. Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/zig.vim27
1 files changed, 16 insertions, 11 deletions
diff --git a/runtime/syntax/zig.vim b/runtime/syntax/zig.vim
index e09b5e8815..121b0195b0 100644
--- a/runtime/syntax/zig.vim
+++ b/runtime/syntax/zig.vim
@@ -34,6 +34,7 @@ let s:zig_syntax_keywords = {
\ , "usize"
\ , "comptime_int"
\ , "comptime_float"
+ \ , "c_char"
\ , "c_short"
\ , "c_ushort"
\ , "c_int"
@@ -96,6 +97,7 @@ let s:zig_syntax_keywords = {
\ , "@atomicStore"
\ , "@bitCast"
\ , "@breakpoint"
+ \ , "@trap"
\ , "@alignCast"
\ , "@alignOf"
\ , "@cDefine"
@@ -107,6 +109,7 @@ let s:zig_syntax_keywords = {
\ , "@cmpxchgStrong"
\ , "@compileError"
\ , "@compileLog"
+ \ , "@constCast"
\ , "@ctz"
\ , "@popCount"
\ , "@divExact"
@@ -126,9 +129,10 @@ let s:zig_syntax_keywords = {
\ , "@unionInit"
\ , "@frameAddress"
\ , "@import"
+ \ , "@inComptime"
\ , "@newStackCall"
\ , "@asyncCall"
- \ , "@intToPtr"
+ \ , "@ptrFromInt"
\ , "@max"
\ , "@min"
\ , "@memcpy"
@@ -145,7 +149,7 @@ let s:zig_syntax_keywords = {
\ , "@panic"
\ , "@prefetch"
\ , "@ptrCast"
- \ , "@ptrToInt"
+ \ , "@intFromPtr"
\ , "@rem"
\ , "@returnAddress"
\ , "@setCold"
@@ -169,25 +173,26 @@ let s:zig_syntax_keywords = {
\ , "@subWithOverflow"
\ , "@intCast"
\ , "@floatCast"
- \ , "@intToFloat"
- \ , "@floatToInt"
- \ , "@boolToInt"
- \ , "@errSetCast"
+ \ , "@floatFromInt"
+ \ , "@intFromFloat"
+ \ , "@intFromBool"
+ \ , "@errorCast"
\ , "@truncate"
\ , "@typeInfo"
\ , "@typeName"
\ , "@TypeOf"
\ , "@atomicRmw"
- \ , "@intToError"
- \ , "@errorToInt"
- \ , "@intToEnum"
- \ , "@enumToInt"
+ \ , "@errorFromInt"
+ \ , "@intFromError"
+ \ , "@enumFromInt"
+ \ , "@intFromEnum"
\ , "@setAlignStack"
\ , "@frame"
\ , "@Frame"
\ , "@frameSize"
\ , "@bitReverse"
\ , "@Vector"
+ \ , "@volatileCast"
\ , "@sin"
\ , "@cos"
\ , "@tan"
@@ -196,7 +201,7 @@ let s:zig_syntax_keywords = {
\ , "@log"
\ , "@log2"
\ , "@log10"
- \ , "@fabs"
+ \ , "@abs"
\ , "@floor"
\ , "@ceil"
\ , "@trunc"