[cairo] War on trailing whitespace

Cory Watson jheephat at gmail.com
Tue Jun 6 16:51:24 PDT 2006


On 6/6/06, Carl Worth <cworth at cworth.org> wrote:
> Fortunately, git provides a nice, (but inactive by default), mechanism
> for avoiding the introduction of trailing whitespace. I'm asking all
> cairo developers to enable the default pre-commit hook which will
> complain about trailing whitespace. The way to do this is to simply
> run:

For the vim'ing among us, I use this:

set list listchars=trail:.

trailing spaces are highlighted with periods so they are easily
visible.  I'm sure someone else can chime in with similar tips for
other editors.

-- 
Cory 'G' Watson
http://www.onemogin.com


More information about the cairo mailing list