20 lines
622 B
Plaintext
20 lines
622 B
Plaintext
## Here is an example for Portage control files
|
|
##
|
|
syntax "/etc/portage" "\.(keywords|mask|unmask|use)(/.+)?$"
|
|
## Base text:
|
|
color green "^.+$"
|
|
## Use flags:
|
|
color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+"
|
|
color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+"
|
|
## Likely version numbers:
|
|
color magenta "-[[:digit:]].*([[:space:]]|$)"
|
|
## Accepted arches:
|
|
color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86$)"
|
|
color white "[[:space:]][\*~-]?\*"
|
|
## Categories:
|
|
color cyan "^[[:space:]]*.*/"
|
|
## Masking regulators:
|
|
color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
|
|
## Comments:
|
|
color yellow "#.*$"
|