| 1 | (comment) @comment |
| 2 | |
| 3 | (directive) @attribute |
| 4 | |
| 5 | (rule (unknownDirective) @attribute) @diagnostic.error |
| 6 | |
| 7 | (userAgent) @namespace |
| 8 | |
| 9 | (value) @string |
| 10 | |
| 11 | ((value) @string.special.path |
| 12 | (#match? @string.special.path "^/")) |
| 13 | |
| 14 | ((value) @ui.text.directory |
| 15 | (#match? @ui.text.directory "^/.+/$")) |
| 16 | |
| 17 | ((value) @operator |
| 18 | (#match? @operator "\\*")) |
| 19 | |
| 20 | (rule |
| 21 | (directive (sitemap)) |
| 22 | (value) @string.special.url) |
| 23 | |
| 24 | (rule |
| 25 | (directive (crawlDelay)) |
| 26 | (value) @constant.numeric.integer) |
| 27 | |
| 28 | ":" @punctuation.delimiter |