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

Re: Paragraph reformat oddity

Expand Messages
  • Ron Aaron
    ... I think this is your problem. The paren makes cindent think you ought to be indenting a . Try making cindent active only for C files... Hope
    Message 1 of 2 , Feb 6 9:00 AM
    • 0 Attachment
      <ameyer@...> writes:
      >Gentlemen:
      >
      >I saw some curious behavior in gvim while editing the following
      >paragraph using textwidth=65:
      >---------------------------------------------------------------
      >
      >We cannot do a real end to end test on cortex, so we will be
      >testing tonight (automatically when the marc_export_daily job
      > runs). I did insure we had a clean compile and did a
      >code walkthrough of the handful of modified steps with Andy to be
      >sure that two people had thought about what we are doing.
      >
      >---------------------------------------------------------------
      >
      >Notice the spaces at the beginning of the third line.
      >If you delete them, then put the cursor at the beginning of the
      >paragraph, and enter the commands "gq}" to reformat the
      >paragraph, the spaces will re-appear.
      ...
      > cindent keymodel= scrolloff=0

      I think this is your problem. The paren makes cindent think you ought to be
      indenting a <something>. Try making cindent active only for C files...

      Hope this helps,
      Ron
    Your message has been successfully submitted and would be delivered to recipients shortly.