On Tue, May 02, 2006 at 11:48:35PM +0200, Georg Dahn wrote: > Hi! > > Eric Arnold wrote: > > setlocal formatoptions+=bcroqan2t " better without w > > setlocal linebreak > > I have tried these setting of formatoptions now. I see, that even if I > don't set textwidth (it is 0) and if there are very much more than 80 > columns, the text gets wrapped at column 80. The value of wrapmargin > is ignored. If I start gVim with gvim -u NONE and set the formatoptions, > the text always gets wrapped at the last column.
This is a feature (since it is documented) and not a bug. Under :help auto-format (Follow the link from the "a" flag in :help fo-table .) there is the note - Set 'textwidth' to the desired width. If it is zero then 79 is used, or the width of the screen if this is smaller. I am not saying I like this, but then I do not like the "a" flag at all. HTH --Benji Fisher