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)) )