RE: Autoformat and C comments
- Thanks, but I can't seem to get gq to work.
I do a visual select of some twisted comment lines in gvim and press <g> and
All I see is that the visual selection is deselected. The comments stays
Am I doing something wrong?
> -----Original Message-----
> From: Marcelo E. Magallon [mailto:marcelo.magallon@...]
> Sent: 23 February 2001 18:42
> To: Coen Engelbarts
> Cc: vim@...
> Subject: Re: Autoformat and C comments
> >> Coen Engelbarts <Coen.Engelbarts@...> writes:
> > So I use this command:
> > autocmd FileType c,cpp set formatoptions=croql cindent
> > comments=sr:/*,mb:**,ex:*/,://
> I just tried this, and it works fine if I use gq, but behaves as you
> describe if I use =