blob: 10e8a321fc47e87c2642c716940f1654a5153114 [file] [log] [blame]
Benno Schulenberg1028d652014-05-16 20:13:02 +00001## Here is an example for apt's sources.list.
2
Benno Schulenberg1f3148d2015-06-02 14:35:21 +00003syntax "sources.list" "sources\.list(~|\.old|\.save)?$" "sources\.list\.d/.*\.list(~|\.old|\.save)?$"
Mike Scalora6a2032f2016-05-25 22:13:50 +02004comment "#"
Benno Schulenberg1028d652014-05-16 20:13:02 +00005
6# Coloring the deb lines, working from tail to head. First the
7# components -- well, everything, and thus also the components.
8color brightmagenta "^deb.*"
9# Distribution -- well, everything, except the components.
Benno Schulenberg1f3148d2015-06-02 14:35:21 +000010color brightred "^deb(-src)?\s+.*((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+"
Benno Schulenberg1028d652014-05-16 20:13:02 +000011# URIs.
Benno Schulenberg1f3148d2015-06-02 14:35:21 +000012color brightgreen "^deb(-src)?\s+.*(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+"
Benno Schulenberg1028d652014-05-16 20:13:02 +000013# CDroms.
Benno Schulenberg1f3148d2015-06-02 14:35:21 +000014color brightgreen "^deb(-src)?\s+.*cdrom:\[.+\]/"
15# Options.
16color brightcyan "^deb(-src)?\s+\[.+\]\s+"
Benno Schulenberg1028d652014-05-16 20:13:02 +000017# And finally the initial deb tag.
18color yellow "^deb(-src)?"
19
20# Comments.
Chris Allegrettacc60c3a2008-03-20 05:41:00 +000021color brightblue "#.*"