On 15/01/11 00:38, Kevin R. Bulgrien wrote:
What is the new way of setting syntax on as the default while retaining
the proper, expected function of the .vimrc file?
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/.
Thanks for the tip. I didn't know about that... I'll have to add it to my
(small) repertoire of vim knowledge.
I did find the culprit for the indentexpr. It was a filetype issue, but
as I explained in my prior reply, best I can tell, the system and user
configurations remain the same between what used to work and
what does not work now. I.E. The filetype file to blame (and system
vimrc) show zero differences to the one on the old system.
Kevin Bulgrien
To avoid auto-indentation, you can always use
:filetype indent off
If you put it in your vimrc, and if you also source the
vimrc_example.vim, call the example vimrc first (it includes a "filetype
plugin indent" line) and then override it (afterwards) with the above line.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
13. You refer to going to the bathroom as downloading.
--
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