Saturday, December 19, 2009

vimrc ignores formatoptions

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?

Thanks

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

No comments: