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

RE: formatoptions question

Expand Messages
  • Pritesh Mistry
    yes, remove ://, from your comments string! or, ... and use o or O to open a new line after your single line comments!
    Message 1 of 2 , Jan 1, 2001
    • 0 Attachment
      yes, remove "://," from your comments string!

      or,

      :se fo-=o
      and use o or O to open a new line after your single line comments!


      > -----Original Message-----
      > From: kunzem@... [mailto:kunzem@...]
      > Sent: Sunday, December 31, 2000 8:41 pm
      > To: vim@...
      > Subject: formatoptions question
      >
      >
      > Is there anyway to further control the behavior of c and r for
      > formatoptions? Specifically, for C++ and Java I use C-style
      > comments for
      > multi-line blocks of comments, so these options are great.
      > However, most
      > of my comments that begin with '//' will only be one line and it is
      > annoying to have to delete the automatically inserted comment
      > on the next
      > line.
      >
      > Is there anyway to have these options only apply to C-style
      > comments and
      > not to C++ comments?
      >
      > matt
      >
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.