Skip to content

Commit

Permalink
Highlight whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Straube committed Jun 12, 2016
1 parent ed1d804 commit 74e57db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cmake.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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:]]+$"
2 changes: 1 addition & 1 deletion sh.nanorc
Original file line number Diff line number Diff line change
Expand Up @@ -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:]]+$"

0 comments on commit 74e57db

Please sign in to comment.