Red Hat Bugzilla – Bug 161123
No syntax highlighting in VIM after FC4 upgrade
Last modified: 2007-11-30 17:11:08 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4
Description of problem:
After an upgrade of FC3 to FC4 vim no longer highlights syntax. Same results on two different boxes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Run vim with a file that should be syntax highlighted.
2. Look at the screen.
Actual Results: No syntax highlighting.
Expected Results: Files should be syntax highlighted.
and creating a .vimrc that should turn on syntax highlight has no effect.
Both of the systems I've had this problem with worked fine before the upgrade.
I assume this is only happening for root and not for ordinary users with uids >
Make sure you're running vim and not vi. (/usr/bin/vim vs. /bin/vi).
Due to many complaints the alias vi=vim isn't set anymore for uids < 100.
if you'd like to have the old behaviour back, add a line
to your .bashrc