Skip to content

Commit

Permalink
fix: change highlighting of boolean values
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyure-A committed Mar 13, 2024
1 parent 845a171 commit 4bf9bde
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions satysfi-ts-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@
"do"
"else"
"end"
"false"
"fun"
"if"
"in"
Expand All @@ -79,7 +78,6 @@
"sig"
"struct"
"then"
"true"
"type"
"val"
"when"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 4bf9bde

Please sign in to comment.