From a1cb38b82b256fa572afda820f9d75f653acda7d Mon Sep 17 00:00:00 2001 From: zongor Date: Sat, 3 May 2025 20:20:16 -0400 Subject: [PATCH] fixes --- ztl-mode.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ztl-mode.el b/ztl-mode.el index 3108bdc..3a5e386 100644 --- a/ztl-mode.el +++ b/ztl-mode.el @@ -10,8 +10,8 @@ "Keywords in Ztl.") (defvar ztl-types - '("char" "str" "integer" "int" "real" - "logical" "bool" "error" "err" + '("byte" "str" "int" "real" + "logical" "bool" "err" "i8" "i16" "i32" "i64" "i128" "f8" "f16" "f32" "f64" "f128") "Types in Ztl.") @@ -31,7 +31,7 @@ ;; Structs (PascalCase) '("\\b[A-Z][A-Za-z0-9_]*\\b" . font-lock-type-face) ;; Numbers - '("\\b\\([0-9]+\\(?:\\.[0-9]*\\)?\\)\\b" . font-lock-constant-face) + '("\\b\\([0-9]+\\(?:\\.[0-9]*\\)?\\)\\b" . font-lock-number-face) ;; Function calls '("\\b\\([a-zA-Z_][a-zA-Z0-9_]*\\)\\s-*(" (1 font-lock-function-name-face)) )