mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
More syntax files from craigbarnes/nanorc
This commit is contained in:
parent
9975b237ac
commit
e5cc8be863
33 changed files with 593 additions and 0 deletions
15
kickstart.nanorc
Normal file
15
kickstart.nanorc
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
syntax "KickStart" "\.ks$" "\.kickstart$"
|
||||
|
||||
color brightmagenta "%[a-z]+"
|
||||
color cyan "^[[:space:]]*(install|cdrom|text|graphical|volgroup|logvol|reboot|timezone|lang|keyboard|authconfig|firstboot|rootpw|user|firewall|selinux|repo|part|partition|clearpart|bootloader)"
|
||||
color cyan "--(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 brightblack "(^|[[:space:]])#([^{].*)?$"
|
||||
color ,green "[[:space:]]+$"
|
||||
color ,red " +"
|
||||
Loading…
Add table
Add a link
Reference in a new issue