mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 17:45:38 +01:00
Highlight whitespace
This commit is contained in:
parent
ed1d8042cd
commit
74e57db6d6
@ -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:]]+$"
|
||||||
|
@ -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:]]+$"
|
||||||
|
Loading…
Reference in New Issue
Block a user