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

Re: strange vim formatting

Expand Messages
  • Piet Delport
    ... The autoindent setting is making the difference here. It needs to be set to get the second result; your mail or another ftplugin is probably changing
    Message 1 of 2 , Feb 28, 2003
    • 0 Attachment
      On Thu, 27 Feb 2003 at 13:26:42 -0500, Paul Brannan wrote:
      >
      > I have formatoptions=cqrtn, ft=text, and tw=72. I type:
      >
      > - this is a test. this is a test. this is a test. this is a test.
      > this is a test. this is a test. this is a test. this is a test.
      > this is a test. this is a test. this is a test.
      >
      > Why does vim put "this" at the beginning of the third line?
      >
      > Note that if ft=mail (fo and tw are the same as before), then everything
      > is formatted the way I want:
      >
      > - this is a test. this is a test. this is a test. this is a test.
      > this is a test. this is a test. this is a test. this is a test.
      > this is a test. this is a test. this is a test.

      The 'autoindent' setting is making the difference here. It needs to be
      set to get the second result; your mail or another ftplugin is probably
      changing it.

      --
      Piet Delport
      Today's subliminal thought is:
    Your message has been successfully submitted and would be delivered to recipients shortly.