aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--syntax/gentoo-common.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/gentoo-common.vim b/syntax/gentoo-common.vim
index b3e2ae8..37879b3 100644
--- a/syntax/gentoo-common.vim
+++ b/syntax/gentoo-common.vim
@@ -14,6 +14,8 @@ syn match GentooBug contained /\(\([gG]entoo \|[dD]ebian \|[sS]ource[Ff]orge \)
syn region GentooError start=/^ / end=/$/
" trailing whitespace
syn match GentooError /\s\+$/
+" mixed tab and space indentation
+syn match GentooError /\s*\(\t \| \t\)\s*/
hi def link GentooBug Underlined
hi def link GentooError Error