runtime/syntax/yum.yaml
raw| 1 | filetype: yum |
| 2 | |
| 3 | detect: |
| 4 | filename: "\\.repo$|yum.*\\.conf$" |
| 5 | |
| 6 | rules: |
| 7 | - identifier: "^[[:space:]]*[^=]*=" |
| 8 | - constant.specialChar: "^[[:space:]]*\\[.*\\]$" |
| 9 | - statement: "\\$(releasever|arch|basearch|uuid|YUM[0-9])" |
| 10 | - comment: "(^|[[:space:]])#([^{].*)?$" |
| 11 | - indent-char.whitespace: "[[:space:]]+$" |
| 12 | - indent-char: " + +| + +" |