Re: the war on trailing whitespace
- From
- MIke Galbraith <efault@gmx.de>
- Date
- Feb 27, 2006, 02:50 UTC
- Message-ID
- <1141008633.7593.13.camel@homer>
- In-Reply-To
- <20060226202617.GH7851@redhat.com>
On Sun, 2006-02-26 at 15:26 -0500, Dave Jones wrote:
Show 9 quoted lines
> I think I have the same anal-retentive problem Andrew has, because I have .. > > highlight RedundantSpaces term=standout ctermbg=red guibg=red > match RedundantSpaces /\s\+$\| \+\ze\t/ > > in my .vimrc, which highlights this (and other trailing whitespace) as > a big red blob. I do this in part for the same reason Andrew does, > so that when someone sends me a diff with a zillion spaces at the EOL, > it screams at me, I spot them, and chop them out.
Dang, I'm _not_ perfect after all ;-). I just tried this on a patch of mine, and up popped a few angry red blobs even though I try to be careful. Perhaps someone should add more pet peeve thingies to it and post it to lkml, or put it some place people can be pointed at.
-Mike