branch: elpa/zig-mode commit 77202ac26ee6091d69d40990fddb1ce6cfcc6dc8 Author: dtw-waleee <wal...@gmail.com> Commit: Andrew Kelley <and...@ziglang.org>
update syntax keywords Updates the keywords to match the ones in zig.vim --- zig-mode.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/zig-mode.el b/zig-mode.el index 172899f..e2932cd 100644 --- a/zig-mode.el +++ b/zig-mode.el @@ -64,14 +64,15 @@ '( ;; Storage "const" "var" "extern" "packed" "export" "pub" "noalias" "inline" - "comptime" "nakedcc" "stdcallcc" "volatile" "align" "linksection" + "noinline" "comptime" "nakedcc" "stdcallcc" "volatile" "allowzero" + "align" "linksection" "threadlocal" ;; Structure - "struct" "enum" "union" + "struct" "enum" "union" "error" ;; Statement "break" "return" "continue" "asm" "defer" "errdefer" "unreachable" - "try" "catch" "async" "await" "suspend" "resume" "cancel" + "try" "catch" "async" "noasync" "await" "suspend" "resume" ;; Conditional "if" "else" "switch" "and" "or" "orelse" @@ -80,7 +81,7 @@ "while" "for" ;; Other keywords - "fn" "use" "test")) + "fn" "usingnamespace" "test")) (defconst zig-types '(