We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1881feb commit 3906938Copy full SHA for 3906938
queries/highlights.scm
@@ -25,10 +25,12 @@
25
"using"
26
] @keyword
27
28
-(primitives_type) @type
29
-(builtin_complex_type) @type
+(primitives_type) @type.builtin
30
31
-(const_declaration (identifier) @constant )
+(builtin_complex_type) @type.builtin
+
32
+(const_declaration
33
+ (identifier) @constant)
34
35
[
36
"="
@@ -37,8 +39,9 @@
37
39
"->"
38
40
] @operator
41
-(attribute (identifier) @attribute)
-(attribute ("@") @attribute)
42
+(attribute
43
+ "@" @attribute
44
+ (identifier) @attribute)
45
46
(string_literal) @string
47
@@ -47,7 +50,7 @@
50
48
51
(true)
49
52
(false)
-] @constant.builtin
53
+] @boolean
54
55
(comment) @comment
56
queries/injections.scm
@@ -0,0 +1,2 @@
1
+((comment) @injection.content
2
+ (#set! injection.language "comment"))
0 commit comments