> > What is the new way of setting syntax on as the default while retaining
> > the proper, expected function of the .vimrc file?
> 
> Probably you have 'filetype indent on' or 'filetype plugin indent on'
> in your .vimrc, or when you upgraded the system, the system .vimrc
> includes this. Per-filetype indentation rules are very common (and
> quite useful to most people), and they will override things like
> indentexpr. If you don't like it you may need to turn it off. I would
> try to find your system .vimrc (see :version output) and double-check
> all the settings there to see if you like them.

VIM is 7.2 btw.

My .vimrc specifically turns both off and that used to suffice to override
the setting in the system files.  I have diffed the system files and found
that the system vimrc is identical between the two systems, so it looks
a lot like vim itself has changed its habits.

Maybe its not so much about syntax on after all, but somehow it plays
a part.

Yes, the system vimrc sources a file that has the filetype stuff
turned on.  Thing is, the system configuration files are identical
between the old system and new system (the old OS is still
available to diff against).  The point being that the config files
have not changed (to the best of my knowledge and limited
checking), and what used to work but does not anymore.

I did find that a filetype file is the culprit for smashing the indentexpr,
and for that file type, but again, it has not changed since the version
of vim that did not have the problem. I was about to temporarily get
around the annoyance by copying the file from the system into my
vim folder and by commenting out the stuff that breaks it... but I do
not relish doing that for all the filetypes I work with.

Still looking for idea.  I hate it when anything tries to do indentation
for me.  It took me ages to finally figure out how to turn it off and
have it stay off, and now its back.  Seems like I shouldn't have to
bug a sysadmin to tweak the default configuration that used to
work, and that I shouldn't have to copy/modify all the system
config files.

Thanks for your thoughts, by the way.  It helped to learn that its
not just a syntax on issue.

Kevin Bulgrien

-- 
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