* Kevin R. Bulgrien <[email protected]> [110113 21:55]:
>  
> I have a .vimrc that I have used for years.  I upgraded the system and now
> vim-enhanced is not interpreting the file the same way it used to.  It seems 
> to boil down to "syntax on" or "syntax enable" being in the file.  Whenever
> one of them is present, it blows away settings like indentexpr that I have
> set in the .vimrc file.  The position of the command does not seem to
> change the behavior.
> 
> What is the new way of setting syntax on as the default while retaining the
> proper, expected function of the .vimrc file?
> 
> Thanks,
> 
> Kevin

In addition to Ben's suggestions, you can also use

:verbose set indentexpr?

to find out where it is being clobbered.  It is likely being set by a
filetype-specific file, perhaps in the $VIMRUNTIME/indent directory.
You can override this for specific filetypes by dropping an appropriate
file in ~/.vim/after/indent/.

...Marvin

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to