| 1 |
(comment) @comment |
| 2 |
[ |
| 3 |
(environment_variable) |
| 4 |
(placeholder) |
| 5 |
] @constant |
| 6 |
|
| 7 |
[ |
| 8 |
(network_address) |
| 9 |
(ip_address_or_cidr) |
| 10 |
] @string.special.url |
| 11 |
|
| 12 |
(path) @string.special.path |
| 13 |
|
| 14 |
[ |
| 15 |
(snippet_name) |
| 16 |
(named_route_identifier) |
| 17 |
(site_address) |
| 18 |
] @keyword |
| 19 |
|
| 20 |
(directive (directive_name) @variable.other.member) |
| 21 |
|
| 22 |
|
| 23 |
(named_matcher (matcher_identifier (matcher_name)) @function.macro) |
| 24 |
|
| 25 |
|
| 26 |
(matcher (matcher_identifier (matcher_name)) @function.macro) |
| 27 |
|
| 28 |
|
| 29 |
(matcher_directive (matcher_directive_name) @function.method) |
| 30 |
|
| 31 |
|
| 32 |
(matcher) @function.macro |
| 33 |
|
| 34 |
[ |
| 35 |
(interpreted_string_literal) |
| 36 |
(raw_string_literal) |
| 37 |
(heredoc) |
| 38 |
(cel_expression) |
| 39 |
] @string |
| 40 |
(escape_sequence) @constant.character.escape |
| 41 |
|
| 42 |
[ |
| 43 |
(duration_literal) |
| 44 |
(int_literal) |
| 45 |
(status_code_fallback) |
| 46 |
] @constant.numeric |
| 47 |
|
| 48 |
[ |
| 49 |
"{" |
| 50 |
"}" |
| 51 |
] @punctuation.bracket |
| 52 |
|
| 53 |
(global_options |
| 54 |
(directive) @keyword.directive) |
| 55 |
|
| 56 |
(directive |
| 57 |
name: (directive_name) |
| 58 |
(argument) @type) |
| 59 |
|
| 60 |
|
| 61 |
|
| 62 |
|
| 63 |
|
| 64 |
|
| 65 |
(directive |
| 66 |
(argument) @string.special.path |
| 67 |
(#match? @string.special.path "^/")) |
| 68 |
|
| 69 |
((argument) @constant.builtin.boolean |
| 70 |
(#any-of? @constant.builtin.boolean "on" "off")) |
| 71 |
|
| 72 |
((argument) @type.enum.variant |
| 73 |
(#any-of? @type.enum.variant "tcp" "udp" "ipv4" "ipv6")) |