nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 7ab903f0725d1e69330a54657341185ef3b0eab6
parent 266ed0612f6da1d20d8160913a4818acb0ee48bd
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Sun, 12 Dec 2021 11:45:21 +0100

syntax: debian: remove file -- Debian itself will have to handle it

The syntax is useful only for users of Debian and its derivatives.

Diffstat:
Msyntax/Makefile.am | 1-
Dsyntax/extra/debian.nanorc | 21---------------------
2 files changed, 0 insertions(+), 22 deletions(-)

diff --git a/syntax/Makefile.am b/syntax/Makefile.am @@ -41,7 +41,6 @@ pkgdata_DATA = asm.nanorc \ nobase_pkgdata_DATA = \ extra/ada.nanorc \ - extra/debian.nanorc \ extra/fortran.nanorc \ extra/haskell.nanorc \ extra/povray.nanorc \ diff --git a/syntax/extra/debian.nanorc b/syntax/extra/debian.nanorc @@ -1,21 +0,0 @@ -## Syntax highlighting for apt's sources.list. - -syntax sources.list "sources\.list(\.d/.*\.list)?(~|\.old|\.save)?$" -comment "#" - -# 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)?\s+.*((ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+|cdrom:\[.+\]/)\s+\S+" -# URIs. -color brightgreen "^deb(-src)?\s+.*(ftp|https?|rsh|ssh|copy|file|spacewalk|tor):/\S+" -# CDroms. -color brightgreen "^deb(-src)?\s+.*cdrom:\[.+\]/" -# Options. -color brightcyan "^deb(-src)?\s+\[.+\]\s+" -# And finally the initial deb tag. -color yellow "^deb(-src)?" - -# Comments. -color brightblue "#.*"