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
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')
-rw-r--r--app-editors/nano/ChangeLog6
-rw-r--r--app-editors/nano/files/nano-2.3.1-gentoo-nanorc.patch8
2 files changed, 13 insertions, 1 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index 6b42f302008a..18718f06067e 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-editors/nano
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.305 2014/02/17 19:32:49 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.306 2014/03/16 02:16:28 vapier Exp $
+
+ 16 Mar 2014; Mike Frysinger <vapier@gentoo.org>
+ files/nano-2.3.1-gentoo-nanorc.patch:
+ Highlight trailing whitespace in /etc/portage files.
17 Feb 2014; Mike Frysinger <vapier@gentoo.org> nano-2.3.2-r1.ebuild:
Enable USE=spell by default as it does not require dependencies and adds <10k
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:]]+$"