On Monday, 16 September 2013 21:47:32 UTC+12, ZyX  wrote:
> On Sep 16, 2013 11:15 AM, "Duncan de Wet" <[email protected]> wrote:
> 
> >
> 
> > In the PHP filetype (and possibly others) trailing whitespace is left at 
> > the end of comment lines that are wrapped as a result of the textwidth 
> > setting.
> 
> This is controlled by formatoptions settings, see :h fo-table. Set 'list' 
> with 'listchars' containing 'trail:-' to make them easy to spot.

I already have those options set, hence why I noticed the bug in the first 
place. I cannot find any options in :h fo-table relating to leaving whitespace 
at the end of lines when wrapping occurs; reasonably so as there is no reason 
you would want to anyway.

> Note that it is not a vim issue. If you take this as a problem it is problem 
> in your configuration.

It seems like a vim issue to me as it occurs in the PHP filetype but not 
others, under identical configurations.

> And also please do not include 1.5 MiB files as attachements. To show a 
> problem you should write a script that starts with omitting your user 
> configuration (e.g. 'vim -u attached-vimrc' (that contains &rtp setting that 
> omits non-standard plugins) or 'vim -u NONE').

OK sorry, just thought a video would demonstrate the problem well.

> 
> > The attached video demonstrates the problem, and how it is not evident in 
> > other filetypes such as C.
> 
> >
> 
> > --
> 
> > --
> 
> > You received this message from the "vim_dev" maillist.
> 
> > Do not top-post! Type your reply below the text you are replying to.
> 
> > For more information, visit http://www.vim.org/maillist.php
> 
> >
> 
> > ---
> 
> > You received this message because you are subscribed to the Google Groups 
> > "vim_dev" group.
> 
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to [email protected].
> 
> > For more options, visit https://groups.google.com/groups/opt_out.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Raspunde prin e-mail lui