mirror of
https://github.com/scopatz/nanorc
synced 2024-11-16 14:14:15 +01:00
Merge pull request #128 from elofu17/patch-2
For conformity, always color trailing whitespace green, not red or blue
This commit is contained in:
commit
d2d84b8206
@ -46,7 +46,7 @@ color brightblack "^#[[:space:]]On branch"
|
|||||||
color brightblack "#"
|
color brightblack "#"
|
||||||
|
|
||||||
# Trailing spaces (+LINT is not ok, git uses tabs)
|
# Trailing spaces (+LINT is not ok, git uses tabs)
|
||||||
color ,red "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
|
||||||
|
|
||||||
# This syntax format is used for interactive rebasing
|
# This syntax format is used for interactive rebasing
|
||||||
|
@ -21,4 +21,4 @@ icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
|||||||
## Comments
|
## Comments
|
||||||
color magenta "(^|;)[[:space:]]*#.*"
|
color magenta "(^|;)[[:space:]]*#.*"
|
||||||
## Trailing whitespace
|
## Trailing whitespace
|
||||||
color ,blue "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
@ -39,4 +39,4 @@ color cyan "(^|[[:space:]])#.*$"
|
|||||||
color brightcyan "(^|[[:space:]])##.*$"
|
color brightcyan "(^|[[:space:]])##.*$"
|
||||||
|
|
||||||
## Trailing spaces
|
## Trailing spaces
|
||||||
color ,blue "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
Loading…
Reference in New Issue
Block a user