[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/zig-mode 2842797 007/104: Fix builtins. Reorder tables.
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/zig-mode 2842797 007/104: Fix builtins. Reorder tables. |
Date: |
Sun, 29 Aug 2021 11:36:53 -0400 (EDT) |
branch: elpa/zig-mode
commit 28427978360525ba7d82f3ef2f740780dec08d20
Author: Andrea Orru <andreaorru1991@gmail.com>
Commit: Andrea Orru <andreaorru1991@gmail.com>
Fix builtins. Reorder tables.
---
zig-mode.el | 63 +++++++++++++++++++++++++------------------------------------
1 file changed, 26 insertions(+), 37 deletions(-)
diff --git a/zig-mode.el b/zig-mode.el
index bfd1726..6d214ea 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -12,56 +12,45 @@
;;; Code:
(defvar zig-mode-builtins
'("@addWithOverflow"
- "@alignOf"
- "@alloca"
- "@cDefine"
- "@cImport"
- "@cInclude"
- "@cUndef"
+ "@mulWithOverflow"
+ "@shlWithOverflow"
+ "@subWithOverflow"
+ "@divExact"
+
+ "@cDefine" "@cImport" "@cInclude" "@cUndef"
+ "@setGlobalAlign" "@setGlobalLinkage" "@setGlobalSection"
+ "@setDebugSafety"
+
+ "@alignOf" "@sizeOf"
+ "@typeName" "@typeOf"
+ "@intType" "@isFloat" "@isInteger"
+ "@maxValue" "@minValue"
+ "@memberCount"
"@canImplicitCast"
+
+ "@alloca"
+ "@memcpy" "@memset"
+
+ "@compileError" "@compileLog" "@compileVar"
+ "@errorName"
+
+ "@import" "@embedFile"
"@clz"
"@cmpxchg"
- "@compileError"
- "@compileLog"
- "@compileVar"
"@ctz"
- "@divExact"
- "@embedFile"
- "@errorName"
"@fence"
"@generatedCode"
- "@import"
- "@intType"
- "@isFloat"
- "@isInteger"
- "@maxValue"
- "@memberCount"
- "@minValue"
- "@mulWithOverflow"
- "@setDebugSafety"
- "@setGlobalAlign"
- "@setGlobalLinkage"
- "@setGlobalSection"
- "@shlWithOverflow"
- "@sizeOf"
- "@subWithOverflow"
"@truncate"
- "@typeName"
- "@typeOf"
"@unreachable"))
(defvar zig-mode-keywords
'("asm"
- "coldcc"
- "inline"
- "nakedcc"
"noalias"
"unreachable"
"use"
- "export"
- "extern"
- "pub"
+ "coldcc" "nakedcc"
+ "export" "extern" "inline" "pub"
"fn"
"enum" "struct" "union"
@@ -93,16 +82,16 @@
"c_int" "c_long" "c_long_double" "c_longlong" "c_short"
"c_uint" "c_ulong" "c_ulonglong" "c_ushort"
- "f32" "f64"
"i8" "i16" "i32" "i64" "isize"
"u8" "u16" "u32" "u64" "usize"
+ "f32" "f64"
"noreturn"
"void"))
(defvar zig-mode-font-lock-keywords
`((,(regexp-opt zig-mode-keywords 'symbols) . font-lock-keyword-face)
- (,(regexp-opt zig-mode-builtins 'symbols) . font-lock-builtin-face)
+ (,(regexp-opt zig-mode-builtins ) . font-lock-builtin-face)
(,(regexp-opt zig-mode-constants 'symbols) . font-lock-constant-face)
(,(regexp-opt zig-mode-types 'symbols) . font-lock-type-face)))
- [nongnu] elpa/zig-mode 6f10653 085/104: Merge pull request #41 from dedifferentiator/master, (continued)
- [nongnu] elpa/zig-mode 6f10653 085/104: Merge pull request #41 from dedifferentiator/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 085bd30 081/104: Revert "Use rx macro and add more possibilities for type annotations", ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ffaffb7 077/104: Merge pull request #31 from joachimschmidt557/hide-zig-fmt-window, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9be8b72 080/104: upd: zig test flags, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 68f3fc5 087/104: Update the required emacs version from 24 to 24.3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode d263591 090/104: Account for opening brace after newline, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 07efab0 095/104: Merge pull request #48 from noisegul/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode b6abeb4 093/104: Add a defvar to define if user wants to return to buffer after fmt., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode df572da 099/104: Add opaque keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode acf3ee8 104/104: Add GitHub Actions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2842797 007/104: Fix builtins. Reorder tables.,
ELPA Syncer <=
- [nongnu] elpa/zig-mode e69ebc0 012/104: and, or, @panic., ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 9a252eb 016/104: Update README.md, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ad9f398 028/104: Add some font-lock tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 2879253 029/104: Don't let backslashes escape newlines in multiline strings, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 4542a5d 036/104: add imenu support, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 604484c 039/104: M-x untabify, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode 67ad48b 045/104: fix multiline string properties rules regex, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode ab46e22 048/104: add some zig cli build commands, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode acebfb1 057/104: Add anyframe; remove promise, ELPA Syncer, 2021/08/29
- [nongnu] elpa/zig-mode fc7fde3 056/104: Merge pull request #23 from joachimschmidt557/master, ELPA Syncer, 2021/08/29