Initial Commit
This commit is contained in:
16
nano/syntax/kickstart.nanorc
Normal file
16
nano/syntax/kickstart.nanorc
Normal file
@ -0,0 +1,16 @@
|
||||
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
|
Reference in New Issue
Block a user