* Bob <[email protected]> [2009-12-19 15:41 -0800]:
> Hi-
> 
> in my ~/.vimrc file I have:
> 
> :set ts=4
> :set nobackup
> :set ai
> :set nocindent
> :set nosi
> :set fo-=r
> :set ruler
> :set tags=./tags
> 
> yet when I edit a file with vim and type:
> :set fo
> I see formatoptions=croql
> 
> which vi produces:
> vi     /usr/bin/vim
> 
> When I change ts=8 and re-run vi, it changes, so it appears
> its reading my file but ignoring 'fo'.  Can someone tell me how
> to fix this or why its happening?  Maybe its a bug?

Try ':verbose set fo' to see where formatoptions is being (re)set.  It
may be an override from a filetype plugin or a local vimrc if you have
exrc set.

-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to