On Sun, Oct 19, 2008 at 6:14 PM, Peter Hodge <[EMAIL PROTECTED]> wrote: > > Hello, > > What is the value of formatoptions in each of those filetypes? > > :setlocal fo? > > Specifically, you'll need to have at the letter 'r' in the value. (:help > fo-table for more info) > > regards, > Peter >
Good call! That was indeed the problem. PHP files have fo=qrowcb, while the others had fo=tcq (the default). I poked around and couldn't figure out the "correct" way of fixing this, but for the moment putting the following lines in my ~/.vimrc seems to have done the trick: au BufRead,BufNewFile *.html setlocal fo=qrowcb au BufRead,BufNewFile *.inc setlocal fo=qrowcb Thanks again, Ian --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
