Skip to content

Commit

Permalink
feat(hl): Support more faces (#264)
Browse files Browse the repository at this point in the history
* Add boolean face

* Add more faces
  • Loading branch information
jcs090218 authored Sep 10, 2023
1 parent ff4f71a commit 69fa82c
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions lisp/tree-sitter-hl.el
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,26 @@
"Face for numbers."
:group 'tree-sitter-hl-faces)

(defface tree-sitter-hl-face:boolean
'((default :inherit tree-sitter-hl-face:keyword))
"Face for boolean."
:group 'tree-sitter-hl-faces)

(defface tree-sitter-hl-face:repeat
'((default :inherit tree-sitter-hl-face:keyword))
"Face for repeat."
:group 'tree-sitter-hl-faces)

(defface tree-sitter-hl-face:conditional
'((default :inherit tree-sitter-hl-face:keyword))
"Face for conditional."
:group 'tree-sitter-hl-faces)

(defface tree-sitter-hl-face:conditional.ternary
'((default :inherit tree-sitter-hl-face:keyword))
"Face for conditional ternary."
:group 'tree-sitter-hl-faces)

;;; ------------------------------------
;;; Punctuations (aka. should-be-dimmed).

Expand Down

0 comments on commit 69fa82c

Please sign in to comment.