From: MIke Galbraith Date: Mon, 27 Feb 2006 02:50:33 GMT Subject: Re: the war on trailing whitespace 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: > 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