]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/gentoo-etc-portage.micro
Update docs and add some comments
[micro.git] / runtime / syntax / gentoo-etc-portage.micro
1 ## Here is an example for Portage control files
2 ##
3 syntax "etc-portage" "\.(keywords|mask|unmask|use)$"
4 ## Base text:
5 color green "^.+$"
6 ## Use flags:
7 color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+"
8 color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+"
9 ## Likely version numbers:
10 color magenta "-[[:digit:]].*([[:space:]]|$)"
11 ## Accepted arches:
12 color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>"
13 color white "[[:space:]][~-]?\*"
14 ## Categories:
15 color cyan "^[[:space:]]*.*/"
16 ## Masking regulators:
17 color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
18 ## Comments:
19 color yellow "#.*$"