Skip to content

Commit f7741f9

Browse files
committed
fix: use @constant.<x> captures
1 parent 9026615 commit f7741f9

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

runtime/queries/cython/highlights.scm

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,14 @@
8080
[
8181
(true)
8282
(false)
83-
] @boolean
83+
] @constant.builtin.boolean
8484

85-
[
86-
(integer)
87-
(float)
88-
] @number
85+
(integer) @constant.numeric.integer
86+
(float) @constant.numeric.float
8987

9088
(comment) @comment
9189
(string) @string
92-
(escape_sequence) @escape
90+
(escape_sequence) @constant.character.escape
9391

9492
(interpolation
9593
"{" @punctuation.special

0 commit comments

Comments
 (0)