blob: c4775540f1e47760368331fca72b8ca110aee8a0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
(comment) @comment
; these are listed first, because they override keyword queries
(function_expression (identifier) @function)
[
(assignment_operator)
(additive_operator)
(multiplicative_operator)
(equality_operator)
">="
"<="
"<"
">"
"+"
"-"
] @operator
[
(and)
(or)
(not)
(in)
] @keyword.operator
[
"(" ")" "[" "]" "{" "}"
] @punctuation.bracket
[
(if)
(elif)
(else)
(endif)
] @keyword.control.conditional
[
(foreach)
(endforeach)
(break)
(continue)
] @keyword.control.repeat
(boolean_literal) @constant.builtin.boolean
(int_literal) @constant.numeric.integer
(keyword_argument keyword: (identifier) @variable.parameter)
(escape_sequence) @constant.character.escape
(bad_escape) @warning
[
"."
","
":"
] @punctuation.delimiter
[
(string_literal)
(fstring_literal)
] @string
(identifier) @variable
|