From 0fd4cfd55ecb81b7c3ab6aa96d7b570b73920f1f Mon Sep 17 00:00:00 2001 From: Elof Date: Tue, 6 Dec 2016 22:13:04 +0100 Subject: [PATCH] Color trailing whitespace green --- python.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python.nanorc b/python.nanorc index 8f14bfb..29b9e3c 100644 --- a/python.nanorc +++ b/python.nanorc @@ -47,3 +47,6 @@ color green start=""""([^"]|$)" end=""""" start="'''([^']|$)" end="'''" #color cyan start=""""" end=""""" start="'''" end="'''" #color cyan start="("""[^"]|[^"]""")" end="("""[^"]|[^"]""")" start="'''[^']" end="'''" #color cyan start="\"\"\"" end="\"\"\"" + +## Trailing spaces +color ,green "[[:space:]]+$"