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:]]+$"