emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/zig-mode 77202ac 044/104: update syntax keywords


From: ELPA Syncer
Subject: [nongnu] elpa/zig-mode 77202ac 044/104: update syntax keywords
Date: Sun, 29 Aug 2021 11:37:00 -0400 (EDT)

branch: elpa/zig-mode
commit 77202ac26ee6091d69d40990fddb1ce6cfcc6dc8
Author: dtw-waleee <waleee@gmail.com>
Commit: Andrew Kelley <andrew@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
   '(



reply via email to

[Prev in Thread] Current Thread [Next in Thread]