Hugh Sasse Staff Elec Eng (hgs / dmu.ac.uk) wrote:
> On Mon, 29 Jan 2001, hipster wrote:
> > On Mon, 29 Jan 2001  19:36:49 +0900, Hugh Sasse Staff Elec Eng wrote:
> > > > http://www.rubycentral.com/faq/rubyfaq-1.html#ss1.10
> > > 
> > > I tried installing the newer file referenced there, and I still don't
> > > get syntax working -- still no coloured words.
> > 
> > assuming vim 5.x and you have ruby.vim in ~/.vim
> 
> vim 5.7 (gvim in fact) and my vim stuff lives in 
> C:\Program Files\gvim57\vim\vim57

The critical variables here are $VIM and $VIMRUNTIME. You can display them
from within vim by typing

	:echo $VIM

and

	:echo $VIMRUNTIME

respectively. The latter should point to your runtime directory
(containing filetype.vim, the syntax directory, and a whole bunch of
other stuff), the former is one directory where you can put your _vimrc
under Windows (if you didn't put it in $HOME, which is probably the
better choice). See

	:help _vimrc

for details.

> > in ~/.vimrc, before any 'highlight' statements:
> > 	syntax on
> 
> I have tried turning it on "by hand" with :syntax on<return>

That should work, provided that $VIMRUNTIME/syntax/syntax.vim can
be found.

[...]

				Reimer Behrends