From 8ac8d00e086a2d93fa0d220a4033e07f748f0baf Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Sat, 2 Nov 2019 16:57:35 +1300 Subject: [PATCH] Highlight trailing whitespace --- ts.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts.nanorc b/ts.nanorc index 9e09c7c..f233465 100644 --- a/ts.nanorc +++ b/ts.nanorc @@ -37,3 +37,6 @@ color red "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]" ## Comments color magenta start="/\*" end="\*/" color magenta "//.*$" + +## Trailing whitespace +color ,green "[[:space:]]+$"