Bug 161123 - No syntax highlighting in VIM after FC4 upgrade
No syntax highlighting in VIM after FC4 upgrade
Product: Fedora
Classification: Fedora
Component: vim (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karsten Hopp
David Lawrence
Depends On:
  Show dependency treegraph
Reported: 2005-06-20 13:48 EDT by Ivan Marsh
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-21 05:14:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ivan Marsh 2005-06-20 13:48:21 EDT
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):

How reproducible:

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.

Additional info:

syntax on
syntax enabled

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.
Comment 1 Karsten Hopp 2005-06-21 05:14:37 EDT
I assume this is only happening for root and not for ordinary users with uids >
100 ?
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

  alias vi=vim

to your .bashrc

Note You need to log in before you can comment on or make changes to this bug.