Georg Dahn wrote:

> > When does Vim do automatic formatting when 'textwidth' is
> > zero?  I don't see an obvious situation.  Looking at the
> > code it doesn't seem to be possible.
> 
> As I wrote:
> 
> 1. gvim -u NONE -N
> 2. set formatoptions+=tcroqn2ba
> 
> Just write anything... the text wraps at column 80. The option
> 'textwidth' is zero and the option 'wrapmargin' is zero, too.
> That the text wraps at 80, was what I did not understand. It
> is a hard wrapping, not a soft wrapping. Just maximize gVim.
> The text wraps at 80 even if the window has more than 100 cols.

Ah, you have enabled auto formatting.  Sorry, didn't get that at first.
That is done even when 'textwidth' is zero.  I'll add a remark about
that.

-- 
How To Keep A Healthy Level Of Insanity:
16. Have your coworkers address you by your wrestling name, Rock Hard Kim.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to