File tree 3 files changed +20
-8
lines changed
3 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 92
92
93
93
(binary_operator operator: _ @operator )
94
94
(unary_operator operator: _ @operator )
95
- ["/" ":" "#" " ->"] @operator
95
+ ["/" ":" "->"] @operator
96
96
97
97
(tripledot) @comment.discard
98
98
118
118
119
119
; Punctuation
120
120
["," "." "-" ";"] @punctuation.delimiter
121
- ["(" ")" "{" "}" "[" "]" "<<" ">>"] @punctuation.bracket
121
+
122
+ (list "[" @rainbow "]" @rainbow )
123
+ (record "#" @rainbow "{" @rainbow "}" @rainbow )
124
+ (map "#" @rainbow "{" @rainbow "}" @rainbow )
125
+ (map_update "{" @rainbow "}" @rainbow )
126
+ (tuple "{" @rainbow "}" @rainbow )
127
+ (arguments "(" @rainbow ")" @rainbow )
128
+ (parenthesized_expression "(" @rainbow ")" @rainbow )
129
+ (bitstring "<<" @rainbow ">>" @rainbow )
122
130
123
131
; (ERROR) @error
Original file line number Diff line number Diff line change 27
27
28
28
"=" @operator
29
29
30
- "[" @punctuation.bracket
31
- "]" @punctuation.bracket
32
- "[[" @punctuation.bracket
33
- "]]" @punctuation.bracket
34
- "{" @punctuation.bracket
35
- "}" @punctuation.bracket
30
+ (table_array_element "[[" @rainbow "]]" @rainbow )
31
+ (table "[" @rainbow "]" @rainbow )
32
+ (array "[" @rainbow "]" @rainbow )
33
+ (inline_table "{" @rainbow "}" @rainbow )
Original file line number Diff line number Diff line change 8
8
((query . (comment) @keyword.directive )
9
9
(#match? @keyword.directive "^;\ +inherits *:"))
10
10
11
+ (group "(" @rainbow ")" @rainbow )
12
+ (named_node "(" @rainbow ")" @rainbow )
13
+ (wildcard_node "(" @rainbow ")" @rainbow )
14
+ (predicate "(" @rainbow ")" @rainbow )
15
+ (alternation "[" @rainbow "]" @rainbow )
16
+
11
17
[
12
18
"("
13
19
")"
You can’t perform that action at this time.
0 commit comments