On Fri, 2011-05-27 at 09:00 -0400, Chris Lalancette wrote:
On 05/27/11 - 10:06:45AM, Mark McLoughlin wrote:
> To avoid retinal burn from emacs show-trailing-whitespace highlighting
> and constant spanking from git's trailing-space warnings.
Ha! I totally ACK this, but the last time I posted this patch, sloranz said
it conflicting with something he is doing with vi :). Hopefully he is more
amenable to the change now.
Steve, do we need to summon Jim Meyering ? :-)
e.g.
http://www.mail-archive.com/bug-coreutils@gnu.org/msg15573.html
If you use vim, add this to ~/.vimrc:
let c_space_errors=1
highlight RedundantSpaces ctermbg=red guibg=red
match RedundantSpaces /\s\+$\| \+\ze\t/
Cheers,
Mark.