Loading ...
Sorry, an error occurred while loading the content.

RE: Autoformat and C comments

Expand Messages
  • Coen Engelbarts
    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 and then . All I see is that the visual
    Message 1 of 5 , Mar 1, 2001
    • 0 Attachment
      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
      then <q>.
      All I see is that the visual selection is deselected. The comments stays
      out-of-whack.

      Am I doing something wrong?

      Thanks,

      Coen


      > -----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 =
      >
      > --
      > Marcelo
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.