On Friday 05 June 2009 11:37 am, Ben Fritz wrote: > > Pan Xiaoku wrote: > > Thanks! with you help, I have found the problem: > > the option "formatoption" is set to "croql" ,in which the "l" means that > > long lines are not broken in insert model . > > > > The "c" (and lack of a "t") also means it only applies textwidth to > comments automatically. You will need to manually apply it to code.
another thing to keep an eye on: IF you have an old version of netrw and IF you've been using it your formatoptions may not be what you think they are -- i say this because 'croql' is the 'fo' setting i was getting from netrw back in the bad-old days before charles fixed it (well, it's fixed if you don't set 'autochdir', a much maligned setting) sc --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
