1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-24 09:35:39 +01:00

Highlight whitespace

This commit is contained in:
Michael Straube 2016-06-12 18:48:32 +02:00
parent ed1d8042cd
commit 74e57db6d6
2 changed files with 4 additions and 1 deletions

View File

@ -20,3 +20,6 @@ color magenta "\<(APPLE|UNIX|WIN32|CYGWIN|BORLAND|MINGW|MSVC(_IDE|60|71|80|90)?)
icolor brightblue "^([[:space:]]*)?#.*" icolor brightblue "^([[:space:]]*)?#.*"
icolor brightblue "[[:space:]]#.*" icolor brightblue "[[:space:]]#.*"
## Trailing whitespace
color ,green "[[:space:]]+$"

View File

@ -12,4 +12,4 @@ icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
color cyan "(^|[[:space:]])#.*$" color cyan "(^|[[:space:]])#.*$"
#color ,green "[[:space:]]+$" color ,green "[[:space:]]+$"