From b579e2f44c48ef5c9f8495e3eb291aef960d7e4f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 11 Apr 2007 11:25:46 +0000 Subject: [PATCH] highlight trailing whitespace Package-Manager: portage-2.1.2.3 --- app-editors/nano/Manifest | 14 +++++++------- app-editors/nano/files/gentoo.nanorc | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest index 6d2ec120c486..65e84d681485 100644 --- a/app-editors/nano/Manifest +++ b/app-editors/nano/Manifest @@ -1,10 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX gentoo.nanorc 2488 RMD160 a6f63f32b8fb0f6fce016f3eddf0ca66e63cfe1b SHA1 5aec4fb09ca0795b7f7f1f8bec1a270757edd800 SHA256 4adf339744fe2bf4f1bd1217957b5b36d0361293d0cb7a98488eeae05d4237ed -MD5 7d50a4249c66395a87e86e932ccf6420 files/gentoo.nanorc 2488 -RMD160 a6f63f32b8fb0f6fce016f3eddf0ca66e63cfe1b files/gentoo.nanorc 2488 -SHA256 4adf339744fe2bf4f1bd1217957b5b36d0361293d0cb7a98488eeae05d4237ed files/gentoo.nanorc 2488 +AUX gentoo.nanorc 2543 RMD160 9330ef762deab3b5e569edf8afb77258780285d1 SHA1 34be20bee5b2b0b973a10c6eef02bcabb09d5c80 SHA256 ec0a82d5eaf561fa83c892c59623f2574bdcc3879e29c69c4857a93214f8e790 +MD5 d51533d3f7f269c9d846d75a08fd06fc files/gentoo.nanorc 2543 +RMD160 9330ef762deab3b5e569edf8afb77258780285d1 files/gentoo.nanorc 2543 +SHA256 ec0a82d5eaf561fa83c892c59623f2574bdcc3879e29c69c4857a93214f8e790 files/gentoo.nanorc 2543 AUX nano-1.3.12-fix2.patch 481 RMD160 8c86b8bed823db226e5c7492c4bcd371e3ec6619 SHA1 96eb32aad43f86d51a67e3cd218b77bf01f64d95 SHA256 4c074af7006e583c0d5a3e8f25a13dc511200cf771934f75a464669dbb73eab1 MD5 d275b06e7853941b3f306aa080660277 files/nano-1.3.12-fix2.patch 481 RMD160 8c86b8bed823db226e5c7492c4bcd371e3ec6619 files/nano-1.3.12-fix2.patch 481 @@ -64,7 +64,7 @@ SHA256 e5ee342754628db70b9ca735df4b7f9a60ee5261c9a5456c123c855d64d00a50 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (GNU/Linux) -iD8DBQFGFrlQ8bi6rjpTunYRAh4zAKCLCU0hWZVRBBpU9JreQxOjVag2vQCfVb+3 -6mZbUhAM6a+ShyO05h4vkY4= -=rG7K +iD8DBQFGHMXk8bi6rjpTunYRAqFNAJ98vAPS8D3t8M4EfI/rw8+kXXU1ZQCgtejF +UPA+6v0v6AjV6fRjGp8L3/8= +=MF7m -----END PGP SIGNATURE----- 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 "\" "\<(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 ## -- 2.26.2