Highlight trailing whitespaces

Taken from the sh.nanorc file for highlighting trailing whitespaces
This commit is contained in:
maritaria 2016-04-30 19:44:51 +02:00
parent e7974027ca
commit d76277c3f9
1 changed files with 3 additions and 0 deletions

View File

@ -71,3 +71,6 @@ color green "\-\-.*$"
# Multiline comments
color green start="\s*\-\-\s*\[\[" end="\]\]"
# Trailing whitespaces
color ,green "[[:space:]]+$"