From 0ca37f9fdd8e9cdaddabd243cee017638afc4891 Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:10:38 +0100 Subject: [PATCH] Color trailing whitespace green --- perl.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl.nanorc b/perl.nanorc index 3c05ad5..3e629b9 100644 --- a/perl.nanorc +++ b/perl.nanorc @@ -11,3 +11,6 @@ color white "[sm]/.*/" color white start="(^use| = new)" end=";" color green "#.*" color yellow start="<< 'STOP'" end="STOP" + +## Trailing spaces +color ,green "[[:space:]]+$"