| 1 |
(comment) @comment |
| 2 |
|
| 3 |
(number) @constant.numeric.integer |
| 4 |
(bool) @constant.builtin.boolean |
| 5 |
(string) @string |
| 6 |
(escape_sequence) @constant.character.escape |
| 7 |
|
| 8 |
[ |
| 9 |
"(" ")" "[" "]" "{" "}" |
| 10 |
] @punctuation.bracket |
| 11 |
|
| 12 |
[ |
| 13 |
"," "." ":" |
| 14 |
] @punctuation.delimiter |
| 15 |
|
| 16 |
[ |
| 17 |
"=" "==" "!=" "+" "+=" "-=" "/" "/=" "<" ">" ">=" "?" |
| 18 |
] @operator |
| 19 |
|
| 20 |
[ |
| 21 |
"and" "or" "not" "in" |
| 22 |
] @keyword.operator |
| 23 |
|
| 24 |
[ |
| 25 |
"if" "elif" "else" "endif" |
| 26 |
] @keyword.control.conditional |
| 27 |
|
| 28 |
[ |
| 29 |
"foreach" "endforeach" |
| 30 |
(keyword_break) |
| 31 |
(keyword_continue) |
| 32 |
] @keyword.control.repeat |
| 33 |
|
| 34 |
|
| 35 |
"@" @punctuation.special |
| 36 |
|
| 37 |
(identifier) @variable |
| 38 |
|
| 39 |
|
| 40 |
(normal_command |
| 41 |
command: (identifier) @function) |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
|
| 46 |
(expression_statement |
| 47 |
property: (identifier) @variable.other.member) |
| 48 |
(expression_statement |
| 49 |
property: (identifier) @function.method |
| 50 |
function: (_)) |
| 51 |
|
| 52 |
|
| 53 |
(pair |
| 54 |
key: (identifier) @variable.other.member) |