From d76277c3f99505da41a0cb1517d4921bc8bf1de6 Mon Sep 17 00:00:00 2001 From: maritaria Date: Sat, 30 Apr 2016 19:44:51 +0200 Subject: [PATCH] Highlight trailing whitespaces Taken from the sh.nanorc file for highlighting trailing whitespaces --- lua.nanorc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lua.nanorc b/lua.nanorc index 3cd76a9..9138a8f 100644 --- a/lua.nanorc +++ b/lua.nanorc @@ -71,3 +71,6 @@ color green "\-\-.*$" # Multiline comments color green start="\s*\-\-\s*\[\[" end="\]\]" + +# Trailing whitespaces +color ,green "[[:space:]]+$"