summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-03-16 02:16:28 +0000
committerMike Frysinger <vapier@gentoo.org>2014-03-16 02:16:28 +0000
commit6c8d2e07489bdc82a535e579aaad22f0cf98825b (patch)
tree7aa038bbeb7bae83edecbabc1ce4f98fffe0bd9b /app-editors/nano/files
parentStable for HPPA (bug #504494). (diff)
downloadgentoo-2-6c8d2e07489bdc82a535e579aaad22f0cf98825b.tar.gz
gentoo-2-6c8d2e07489bdc82a535e579aaad22f0cf98825b.tar.bz2
gentoo-2-6c8d2e07489bdc82a535e579aaad22f0cf98825b.zip
Highlight trailing whitespace in /etc/portage files.
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'app-editors/nano/files')
-rw-r--r--app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch b/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch
index 2dad1d3c6699..c775e2988b46 100644
--- a/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch
+++ b/app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch
@@ -85,3 +85,11 @@ index 2ad1597..ad89fce 100644
--
1.8.3.2
+--- a/doc/syntax/gentoo.nanorc
++++ b/doc/syntax/gentoo.nanorc
+@@ -61,3 +61,5 @@ color cyan "^[[:space:]]*.*/"
+ color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)"
+ ## Comments:
+ color yellow "#.*$"
++## Trailing space is bad!
++color ,green "[[:space:]]+$"