Skip to content

Commit be6279c

Browse files
committed
feat(fontlock): add defclass fontlock
1 parent e9a8e31 commit be6279c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

elsa-font-lock.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@
9191
,@elsa--font-lock-function-anchors)
9292
(,(rx "(" (* space) "elsa-declare-defvar" (1+ space) (group (1+ (or (syntax word) (syntax symbol)))))
9393
(1 font-lock-variable-name-face))
94-
(,(rx "(" (* space) "elsa-declare-structure" (1+ space) (group (1+ (or (syntax word) (syntax symbol)))))
94+
(,(rx "(" (* space) "elsa-declare-defclass" (1+ space) (group (1+ (or (syntax word) (syntax symbol)))))
95+
(1 font-lock-type-face))
96+
(,(rx "(" (* space) "elsa-declare-defstruct" (1+ space) (group (1+ (or (syntax word) (syntax symbol)))))
9597
(1 font-lock-type-face)))))
9698

9799
(provide 'elsa-font-lock)

0 commit comments

Comments
 (0)