From 4bf9bde64de30caa4a52e9bcbb5901da086d9708 Mon Sep 17 00:00:00 2001 From: Kyure_A <49436968+Kyure-A@users.noreply.github.com> Date: Wed, 13 Mar 2024 23:35:46 +0900 Subject: [PATCH] fix: change highlighting of boolean values --- satysfi-ts-mode.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/satysfi-ts-mode.el b/satysfi-ts-mode.el index d52a65a..94af97a 100644 --- a/satysfi-ts-mode.el +++ b/satysfi-ts-mode.el @@ -59,7 +59,6 @@ "do" "else" "end" - "false" "fun" "if" "in" @@ -79,7 +78,6 @@ "sig" "struct" "then" - "true" "type" "val" "when" @@ -156,16 +154,16 @@ :language 'satysfi :feature 'keyword `([,@satysfi-ts-mode--keywords] @font-lock-builtin-face) - + :language 'satysfi :feature 'namespace - '([(module_name) (header_require) (header_import)] @font-lock-builtin-face + '([(module_name) (headers)] @font-lock-builtin-face ;; expr (modvar "." @font-lock-builtin-face)) :language 'satysfi :feature 'number - '([(literal_int) (literal_float) (literal_length) (literal_bool)] @font-lock-number-face) + `([(literal_int) (literal_float) (literal_length) "true" "false"] @font-lock-number-face) :language 'satysfi :feature 'operator