diff --git a/syntax/gentoo.nanorc b/syntax/gentoo.nanorc
index 046ed517a669510e12ffed4a025059d4533e5659..d3e8f3527c81c199a0cf204083c39d200d5fd9cf 100644
--- a/syntax/gentoo.nanorc
+++ b/syntax/gentoo.nanorc
@@ -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 " 	"