summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-04-11 11:25:46 +0000
committerMike Frysinger <vapier@gentoo.org>2007-04-11 11:25:46 +0000
commit5e6c63fdad79cc0cd31a3d2cf1ff06f783e60376 (patch)
treebd4db927073dbec1c9f56dfde4b681ea32ea75e3 /app-editors
parentamd64 (diff)
downloadgentoo-2-5e6c63fdad79cc0cd31a3d2cf1ff06f783e60376.tar.gz
gentoo-2-5e6c63fdad79cc0cd31a3d2cf1ff06f783e60376.tar.bz2
gentoo-2-5e6c63fdad79cc0cd31a3d2cf1ff06f783e60376.zip
highlight trailing whitespace
(Portage version: 2.1.2.3)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/files/gentoo.nanorc2
1 files changed, 2 insertions, 0 deletions
diff --git a/app-editors/nano/files/gentoo.nanorc b/app-editors/nano/files/gentoo.nanorc
index e9d8ee8c00da..6652c445217d 100644
--- a/app-editors/nano/files/gentoo.nanorc
+++ b/app-editors/nano/files/gentoo.nanorc
@@ -26,6 +26,8 @@ color blue "\<make\>" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdi
color yellow "#.*$"
## Highlight strings (doesnt work that well)
color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
+## Trailing space is bad!
+color ,green "[[:space:]]+$"
## Here is an example for Portage control files
##