syntax: gentoo: flag mixed whitespace

master
Mike Frysinger 2017-02-20 13:07:50 -05:00 committed by Benno Schulenberg
parent 3ca6c9241f
commit cd5d7faa4e
1 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,8 @@ color yellow "(^|[[:space:]])#.*$"
color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'"
## Trailing space is bad!
color ,green "[[:space:]]+$"
## Mixed whitespace is also bad.
color ,green " "
## Here is an example for Portage control files.
##
@ -66,3 +68,5 @@ color brightmagenta "^[[:space:]]*(=|~|<|<=|>|>=)"
color yellow "#.*$"
## Trailing space is bad!
color ,green "[[:space:]]+$"
## Mixed whitespace is also bad.
color ,green " "