micro/runtime/syntax/kickstart.yaml
Yevhen Babiichuk (DustDFG) 426e6c600f
Fix trailing spaces/tabs in yaml syntax files (#3200)
Signed-off-by: Yevhen Babiichuk (DustDFG) <dfgdust@gmail.com>
2024-03-22 17:56:09 +01:00

17 lines
633 B
YAML

filetype: kickstart
detect:
filename: "\\.ks$|\\.kickstart$"
rules:
- special: "%[a-z]+"
- statement: "^[[:space:]]*(install|cdrom|text|graphical|volgroup|logvol|reboot|timezone|lang|keyboard|authconfig|firstboot|rootpw|user|firewall|selinux|repo|part|partition|clearpart|bootloader)"
- constant: "--(name|mirrorlist|baseurl|utc)(=|\\>)"
- statement: "\\$(releasever|basearch)\\>"
- brightblack: "^@[A-Za-z][A-Za-z-]*"
- brightred: "^-@[a-zA-Z0-9*-]+"
- red: "^-[a-zA-Z0-9*-]+"
- comment: "(^|[[:space:]])#([^{].*)?$"
- indent-char.whitespace: "[[:space:]]+$"
- indent-char: " + +| + +"