debian.nanorc 650 Bytes
Newer Older
1
2
## Here is an example for apt's sources.list.

3
syntax "apt/sources.list" "sources\.list(\.old|~)?$"
4
5
6
7
8
9
10
11
12

# 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.
color brightred "^deb(-src)? ((http|ftp|rsh|ssh|file|copy):/[^ ]+|cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/) [^ ]+"
# URIs.
color brightgreen "(http|ftp|rsh|ssh|file|copy):/[^ ]+"
# CDroms.
13
color brightgreen "cdrom:\[[-a-zA-Z0-9\._\(\) ]+\]/"
14
15
16
17
# And finally the initial deb tag.
color yellow "^deb(-src)?"

# Comments.
18
19
color brightblue "#.*"