syntax highlighting not working in vim 6.3.11

Pierre HABOUZIT pierre.habouzit@m4x.org
Tue, 15 Mar 2005 09:03:09 +0100


--mYCpIKhGyMATD0i+
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 08, 2004 at 05:00:27PM +0200, Claudio Scordino wrote:
> Package: vim
> Version: 6.3.11
>=20
> Kernel: 2.6.6
> Libraries: libc-2.3.2.so
>=20
> Problem:
> Even if the command=20
>=20
> syntax on=20
>=20
> is already present in the .vimrc file, the syntax highlighting doesn't wo=
rk.
> Moreover, if I try to give the command=20
>=20
> :syn on=20
>=20
> inside vim, it prints the following error message:
>=20
> Error detected while processing /usr/share/vim/vim63/syntax/syntax.vim: l=
ine  =20
> 42:
> E216: No such group or event: filetypedetect BufRead

  the problem is, in order to make syntax hilighting work, you MUST have
filetype plugin on

  this is default in the pristine /etc/vim/{g,}vimrc files, and thus
this cannot be a vim 6.3.x bug, but a bug of *your* .vimrc



  So if the problem is the result of a modification of /etc/vim/* files
of your own, or a bad setting in your .vimrc, then please close the bug
and fix your files.

  If you show no response, then I'll consider closing the bug.


Cheers, =20
--=20
=B7O=B7  Pierre Habouzit
=B7=B7O
OOO                                                http://www.madism.org

--mYCpIKhGyMATD0i+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFCNpa8vGr7W6HudhwRAqLHAKCosRgkHZVb/VHcv01vhjhfstbNkgCfWjQw
UUBec7K7DOSvhjy8ewqgI3U=
=yYuX
-----END PGP SIGNATURE-----

--mYCpIKhGyMATD0i+--