Currently, app-vim/gentoo-syntax does only mark trailing tabs. Trailing spaces shall also getting marked.
Hrm, got a test case? if exists("g:ebuild_error_on_trailing_whitespace") syn match EbuildError /^.*\s\+$/ endif The \s should match all kinds of spaces.
Using the following in my ~/.vimrc let ebuild_error_on_trailing_whitespace=1 works for all whitespace here.
Mmmm, works for us. Please reopen if you have examples.
Created attachment 49677 [details] Screenshot to prove it
I was able to reproduce it. But unfortunately, I got the summary wrong the last time. Trailing tabs should also be marked, not spaces. I've attached a screenshot using vim 6.3.58 (vim-6.3-r4) and gentoo-syntax-20041227. The two red lines are spaces, whose are highlighted correctly. Between them, there is a line of three tabs whose aren't highlighted. Hopefully, this can be fixed. Thank you!
Stiiiiiiill can't reproduce it. File please?
Created attachment 49679 [details] Example Added an example. It's just a random ebuild with added tabs and spaces.
Stiiiiiiiiiillll can't reproduce it. Do you have anything weird in your vimrc?
Created attachment 49680 [details] My vimrc stripped of comments and really unrelated stuff I've now attached my vimrc. Maybe it's really something in there. Or might it be an architecture problem? (I'm using ~ppc)
let g:ebuild_error_on_trailing_whitespace=1 It's a feature :)