From d566590602b76c5ffa349bce9b72a56111d11c12 Mon Sep 17 00:00:00 2001 From: Anomitee Date: Sat, 4 Jan 2014 17:32:57 +1100 Subject: [PATCH 1/2] Added highlighting of trailing whitespace --- c.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/c.nanorc b/c.nanorc index 65e2d8d..6641fae 100644 --- a/c.nanorc +++ b/c.nanorc @@ -34,3 +34,6 @@ color cyan "<[^= ]*>" ""(\\.|[^"])*"" ## Comment highlighting color brightblue "//.*" color brightblue start="/\*" end="\*/" + +## Trailing whitespace +color ,green "[[:space:]]+$" From 722ed013a6375e48bd7d5724f5e20c4ce4564380 Mon Sep 17 00:00:00 2001 From: Anomitee Date: Sat, 4 Jan 2014 17:42:19 +1100 Subject: [PATCH 2/2] Made whitespace highlighting optional --- c.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/c.nanorc b/c.nanorc index 6641fae..ea08fb3 100644 --- a/c.nanorc +++ b/c.nanorc @@ -36,4 +36,4 @@ color brightblue "//.*" color brightblue start="/\*" end="\*/" ## Trailing whitespace -color ,green "[[:space:]]+$" +#color ,green "[[:space:]]+$"