| 1 |
(comment) @comment |
| 2 |
|
| 3 |
(key) @attribute |
| 4 |
|
| 5 |
(value) @string |
| 6 |
|
| 7 |
(value (escape) @constant.character.escape) |
| 8 |
|
| 9 |
((index) @constant.numeric.integer |
| 10 |
(#match? @constant.numeric.integer "^[0-9]+$")) |
| 11 |
|
| 12 |
((substitution (key) @constant) |
| 13 |
(#match? @constant "^[A-Z0-9_]+")) |
| 14 |
|
| 15 |
((value) @constant.builtin.boolean |
| 16 |
(#any-of? @constant.builtin.boolean "true" "false" "enabled" "disabled")) |
| 17 |
|
| 18 |
((value) @constant.numeric.float |
| 19 |
(#match? @constant.numeric.float "^[+-]?(([0-9]*\.[0-9]+([eE][+-]?[0-9]+)?)|([0-9]+[eE][+-]?[0-9]+))$")) |
| 20 |
|
| 21 |
((value) @constant.numeric.integer |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
(#match? @constant.numeric.integer "^([+-]?[0-9]+)|(0[xX][0-9a-fA-F]+)$")) |
| 27 |
|
| 28 |
((value) @string.special.path |
| 29 |
(#match? @string.special.path "^(\.{1,2})?/")) |
| 30 |
|
| 31 |
(substitution |
| 32 |
(key) @function |
| 33 |
"::" @punctuation.special |
| 34 |
(secret) @string.special.symbol) |
| 35 |
|
| 36 |
(property [ "=" ":" ] @keyword.operator) |
| 37 |
|
| 38 |
[ "${" "}" ] @punctuation.special |
| 39 |
|
| 40 |
(substitution ":" @punctuation.special) |
| 41 |
|
| 42 |
[ "[" "]" ] @punctuation.bracket |
| 43 |
|
| 44 |
[ "." "\\" ] @punctuation.delimiter |