From 1c1897e8f4d2890056e54e71ff04aa833832257c Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:15:38 +0100 Subject: [PATCH] Color trailing whitespace green --- rust.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rust.nanorc b/rust.nanorc index 06ace6a..3d3c17a 100644 --- a/rust.nanorc +++ b/rust.nanorc @@ -34,3 +34,6 @@ color magenta start="#!\[" end="\]" # Some common markers color brightcyan "(XXX|TODO|FIXME|\?\?\?)" + +## Trailing spaces +color ,green "[[:space:]]+$"