Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Bram Moolenaar
Andy Wokula wrote: > Am 19.08.2018 um 18:37 schrieb Bram Moolenaar: > > Currently, when making a list with continuation lines, it is not > > possible to add a comment somewhere: > > > > let array = [ > > \ item, > > \ item, > > \ item, > > \] >

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 19.08.2018 um 18:37 schrieb Bram Moolenaar: Currently, when making a list with continuation lines, it is not possible to add a comment somewhere: let array = [ \ item, \ item, \ item, \] Maybe you can't put a comment, b

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Tony Mechelynck
P.S. Inside a single-quoted string, \c means "backslash followed by c" and we want to keep that; so I propose the following three constructs: '\c ... some comment ... \c '\c ... some comment ... \c' '\c ... some comment ... \c'' (all inside an already-started single-quoted comment) to mean (I'm n

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Tony Mechelynck
On Mon, Aug 20, 2018 at 1:18 PM, Bram Moolenaar wrote: > > Tony Mechelynck wrote: >> [...] >> Fixed-form COBOL (the only kind I knew), where comments had to be on >> their own lines (with an asterisk in column 7 IIRC), and continuation >> lines had a dash in the otherwise unused column 7, had stri

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Bram Moolenaar
Tony Mechelynck wrote: > On Mon, Aug 20, 2018 at 10:06 AM, Bram Moolenaar wrote: > > > >> On Monday, August 20, 2018 at 1:37:53 AM UTC+9, Bram Moolenaar wrote: > >> > Currently, when making a list with continuation lines, it is not > >> > possible to add a comment somewhere: > >> > > >> > l

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Tony Mechelynck
On Mon, Aug 20, 2018 at 10:06 AM, Bram Moolenaar wrote: > >> On Monday, August 20, 2018 at 1:37:53 AM UTC+9, Bram Moolenaar wrote: >> > Currently, when making a list with continuation lines, it is not >> > possible to add a comment somewhere: >> > >> > let array = [ >> > \ item, >>

Re: Comments halfway continuation lines

2018-08-20 Fir de Conversatie Bram Moolenaar
> On Monday, August 20, 2018 at 1:37:53 AM UTC+9, Bram Moolenaar wrote: > > Currently, when making a list with continuation lines, it is not > > possible to add a comment somewhere: > > > > let array = [ > > \ item, > > \ item, > > \ item, > >

Re: Comments halfway continuation lines

2018-08-19 Fir de Conversatie mattn
On Monday, August 20, 2018 at 1:37:53 AM UTC+9, Bram Moolenaar wrote: > Currently, when making a list with continuation lines, it is not > possible to add a comment somewhere: > > let array = [ > \ item, > \ item, > \ item, > \] > > Ad

Re: Comments halfway continuation lines

2018-08-19 Fir de Conversatie Tony Mechelynck
On Sun, Aug 19, 2018 at 6:37 PM, Bram Moolenaar wrote: > > Currently, when making a list with continuation lines, it is not > possible to add a comment somewhere: > > let array = [ > \ item, > \ item, > \ item, > \] > > Adding

Comments halfway continuation lines

2018-08-19 Fir de Conversatie Bram Moolenaar
Currently, when making a list with continuation lines, it is not possible to add a comment somewhere: let array = [ \ item, \ item, \ item, \] Adding a comment after the comma causes all the rest to be included in the comme