syntax: gentoo: flag mixed whitespace
parent
3ca6c9241f
commit
cd5d7faa4e
|
@ -43,6 +43,8 @@ color yellow "(^|[[:space:]])#.*$"
|
||||||
color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
|
color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
|
||||||
## Trailing space is bad!
|
## Trailing space is bad!
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
## Mixed whitespace is also bad.
|
||||||
|
color ,green " "
|
||||||
|
|
||||||
## Here is an example for Portage control files.
|
## Here is an example for Portage control files.
|
||||||
##
|
##
|
||||||
|
@ -66,3 +68,5 @@ color brightmagenta "^[[:space:]]*(=|~|<|<=|>|>=)"
|
||||||
color yellow "#.*$"
|
color yellow "#.*$"
|
||||||
## Trailing space is bad!
|
## Trailing space is bad!
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
|
## Mixed whitespace is also bad.
|
||||||
|
color ,green " "
|
||||||
|
|
Loading…
Reference in New Issue