2
0
Fork 0
nano-syntax-archived/kickstart.nanorc

17 lines
627 B
Text
Raw Permalink Normal View History

2015-05-03 07:15:14 +02:00
syntax "KickStart" "\.ks$" "\.kickstart$"
color brightmagenta "%[a-z]+"
color brightblack "^[[:space:]]*(install|cdrom|text|graphical|volgroup|logvol|reboot|timezone|lang|keyboard|authconfig|firstboot|rootpw|user|firewall|selinux|repo|part|partition|clearpart|bootloader)"
color brightblack "--(name|mirrorlist|baseurl|utc)(=|\>)"
color brightyellow "\$(releasever|basearch)\>"
# Packages and groups
color brightblack "^@[A-Za-z][A-Za-z-]*"
color brightred "^-@[a-zA-Z0-9*-]+"
color red "^-[a-zA-Z0-9*-]+"
color cyan "(^|[[:space:]])#([^{].*)?$"
color ,green "[[:space:]]+$"
color ,red " + +| + +"
# +EXTRALINT