micro/runtime/syntax/yum.yaml
2017-03-21 14:55:22 -04:00

13 lines
348 B
YAML

filetype: yum
detect:
filename: "\\.repo$|yum.*\\.conf$"
rules:
- identifier: "^[[:space:]]*[^=]*="
- constant.specialChar: "^[[:space:]]*\\[.*\\]$"
- statement: "\\$(releasever|arch|basearch|uuid|YUM[0-9])"
- comment: "(^|[[:space:]])#([^{].*)?$"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"