From 7c6dc77d82ae6345305a846fc0704c25c6c916de Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 2 Nov 2019 17:05:37 +1300 Subject: [PATCH] Highlight trailing whitespace (nanorc.nanorc) --- nanorc.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nanorc.nanorc b/nanorc.nanorc index b951127..a224372 100644 --- a/nanorc.nanorc +++ b/nanorc.nanorc @@ -15,3 +15,6 @@ icolor white ""(\\.|[^"])*"" ## Comments icolor brightblue "^[[:space:]]*#.*$" icolor cyan "^[[:space:]]*##.*$" + +## Trailing whitespace +icolor ,green "[[:space:]]+$"