Friday, February 25, 2011

Re: Trailing white space in multi line comments (ft=php)

On 2011-02-26 Ben Schmidt <mail_ben_schmidt@yahoo.com.au> wrote:

> > set ft=php
> >
> > /*
> > * Lorem ipsum dolor sit amet, consectetur
> > * adipisicing elit, sed do eiusmod tempor
> > * incididunt ut labore dolore magna aliqua.
> > *
> > */
> >
> > Here after consectetur and after tempor there's the space. Why? How can I
> > get rid of this?
>
> Check the setting of 'formatoptions'

Thanks. That was a push to the right direction.

> :au FileType php set fo-=whatever
Almost:

au FileType php set fo-=w

Did the trick. Thanks.


Marco


--
You received this message from the "vim_use" 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

No comments:

Post a Comment