2014-05-16 20:13:02 +00:00
|
|
|
## Here is an example for apt's sources.list.
|
|
|
|
|
2014-07-16 11:22:02 +00:00
|
|
|
syntax "apt/sources.list" "sources\.list(\.old|~)?$" "apt/sources\.list\.d/.*\.list$"
|
2014-05-16 20:13:02 +00:00
|
|
|
|
|
|
|
# Coloring the deb lines, working from tail to head. First the
|
|
|
|
# components -- well, everything, and thus also the components.
|
|
|
|
color brightmagenta "^deb.*"
|
|
|
|
# Distribution -- well, everything, except the components.
|
2014-07-16 11:22:02 +00:00
|
|
|
color brightred "^deb(-src)? ((http(s)?|ftp|rsh|ssh|file|copy|tor|spacewalk):/[^ ]+|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+"
|
2014-05-16 20:13:02 +00:00
|
|
|
# URIs.
|
2014-07-16 11:22:02 +00:00
|
|
|
color brightgreen "(http(s)?|ftp|rsh|ssh|file|copy|tor|spacewalk):/[^ ]+"
|
2014-05-16 20:13:02 +00:00
|
|
|
# CDroms.
|
2008-03-20 05:52:08 +00:00
|
|
|
color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/"
|
2014-05-16 20:13:02 +00:00
|
|
|
# And finally the initial deb tag.
|
|
|
|
color yellow "^deb(-src)?"
|
|
|
|
|
|
|
|
# Comments.
|
2008-03-20 05:41:00 +00:00
|
|
|
color brightblue "#.*"
|
|
|
|
|