Blame syntax/debian.nanorc

Packit Service c30d13
## Here is an example for apt's sources.list.
Packit Service c30d13
Packit Service c30d13
syntax sources.list "sources\.list(\.d/.*\.list)?(~|\.old|\.save)?$"
Packit Service c30d13
comment "#"
Packit Service c30d13
Packit Service c30d13
# Coloring the deb lines, working from tail to head.  First the
Packit Service c30d13
# components -- well, everything, and thus also the components.
Packit Service c30d13
color brightmagenta "^deb.*"
Packit Service c30d13
# Distribution -- well, everything, except the components.
Packit Service c30d13
color brightred "^deb(-src)?\s+.*((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+"
Packit Service c30d13
# URIs.
Packit Service c30d13
color brightgreen "^deb(-src)?\s+.*(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+"
Packit Service c30d13
# CDroms.
Packit Service c30d13
color brightgreen "^deb(-src)?\s+.*cdrom:\[.+\]/"
Packit Service c30d13
# Options.
Packit Service c30d13
color brightcyan "^deb(-src)?\s+\[.+\]\s+"
Packit Service c30d13
# And finally the initial deb tag.
Packit Service c30d13
color yellow "^deb(-src)?"
Packit Service c30d13
Packit Service c30d13
# Comments.
Packit Service c30d13
color brightblue "#.*"