Re: [patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-29 Fir de Conversatie Gary Johnson
On 2012-05-27, Ben Fritz wrote: > On Saturday, May 26, 2012 3:00:10 PM UTC-5, Gary Johnson wrote: > > On 2012-05-26, Lech Lorens wrote: > > > The attached patch adds the "j" flag to 'formatoptions' which is > > > described in todo.txt as follows: > > > 7 Add 'j' flag to 'formatoptions': Remove co

Re: [patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-27 Fir de Conversatie Ben Fritz
On Saturday, May 26, 2012 3:00:10 PM UTC-5, Gary Johnson wrote: > On 2012-05-26, Lech Lorens wrote: > > The attached patch adds the "j" flag to 'formatoptions' which is > > described in todo.txt as follows: > > 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining > > lines. > >

Re: [patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-27 Fir de Conversatie Bram Moolenaar
Lech Lorens wrote: > The attached patch adds the "j" flag to 'formatoptions' which is > described in todo.txt as follows: > 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. > > It makes it possible to perform a join on the following lines: > #v+ > /* > * Comment >

Re: [patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-26 Fir de Conversatie Gary Johnson
On 2012-05-26, Lech Lorens wrote: > The attached patch adds the "j" flag to 'formatoptions' which is > described in todo.txt as follows: > 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. Thank you! I'm continually removing comment leaders in the middle of joined com

[patch] Add "j" flag to 'formatoptions' to remove comments when joining lines

2012-05-26 Fir de Conversatie Lech Lorens
The attached patch adds the "j" flag to 'formatoptions' which is described in todo.txt as follows: 7 Add 'j' flag to 'formatoptions': Remove comment leader when joining lines. It makes it possible to perform a join on the following lines: #v+ /* * Comment */ #v- to obtain: #v+ /* Comment */ #