branch: elpa/zig-mode
commit 7c6323ccdd5e30d94a222c857fd1c2a0340496d0
Author: Andrea Orru <[email protected]>
Commit: Andrea Orru <[email protected]>
orelse, f16, comptime_int, comptime_float
---
zig-mode.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/zig-mode.el b/zig-mode.el
index 85cb0aa..ddb14f6 100644
--- a/zig-mode.el
+++ b/zig-mode.el
@@ -1,6 +1,6 @@
;;; zig-mode.el --- A major mode for the Zig programming language -*-
lexical-binding: t -*-
-;; Version: 0.0.3
+;; Version: 0.0.4
;; Author: Andrea Orru <[email protected]>, Andrew Kelley
<[email protected]>
;; Keywords: zig, languages
;; Package-Requires: ((emacs "24"))
@@ -76,7 +76,7 @@
"try" "catch" "async" "await" "suspend" "resume" "cancel"
;; Conditional
- "if" "else" "switch" "and" "or"
+ "if" "else" "switch" "and" "or" "orelse"
;; Repeat
"while" "for"
@@ -92,12 +92,15 @@
"isize" "usize"
;; Floating types
- "f32" "f64" "f128"
+ "f16" "f32" "f64" "f128"
;; C types
"c_short" "c_ushort" "c_int" "c_uint" "c_long" "c_ulong"
"c_longlong" "c_ulonglong" "c_longdouble" "c_void"
+ ;; Comptime types
+ "comptime_int" "comptime_float"
+
;; Other types
"bool" "void" "noreturn" "type" "error" "promise"))