On 08/13/2012 06:09 PM, Harald Schilly wrote:
>
>
> On Monday, August 13, 2012 10:33:27 AM UTC+2, Andrew Mathas wrote:
>
> Trailing whitespace ...
>
The patchbot probably checks for trailing whitespace on all the lines
starting with '+' in the patch. So, it will catch all the lines which
have been edited and still retain a trailing whitespace. This is
irrespective of whether the spaces were introduced in the current patch
or were present previously.
>
> Hi, I don't know what it is actually doing, but from my experience, it
> helped a lot to tweak my vim a bit. Now, it prints a small centered dot
> for each space (that is not "ok"), and an arrow to the right for each TAB.
>
> ||
> " tab chars and tailing spaces
> set list listchars=tab:▷⋅,trail:⋅,nbsp:⋅
>
>
> Those arrow and dot signs are UTF8, I hope this comes through.
>
> H
I am using the ShowTrailingWhiteSpaces script:
http://www.vim.org/scripts/script.php?script_id=3966
It is painless and requires no configuration. The indicators disappear
on insert mode, in the currently editing line, so it is not annoying
either. Example screenshot:
http://i.imgur.com/fyyPh.png