1
0
mirror of https://github.com/scopatz/nanorc synced 2024-09-27 16:39:52 +02:00

Merge pull request #103 from mis2/whitespace

Highlight whitespace
This commit is contained in:
Anthony Scopatz 2016-06-12 12:59:22 -04:00 committed by GitHub
commit 1bc9c89e85
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:]]#.*"
## Trailing whitespace
color ,green "[[:space:]]+$"

View File

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