Skip to content

Commit a34ebfc

Browse files
committed
Simplify Annotation syntax
1 parent 60255f4 commit a34ebfc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gdscript-syntax.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
(1+ space)
7272
(group (1+ (or word ?_))))
7373
(1 font-lock-function-name-face))
74-
(,(regexp-opt gdscript-annotations 'non-nil)
74+
(,(rx (group "@" (1+ (or word ?_))))
7575
1
7676
font-lock-preprocessor-face)
7777
(,(rx symbol-start

0 commit comments

Comments
 (0)