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
> 
> in ~/.vimrc, before any 'highlight' statements:
> 	syntax on

I have tried turning it on "by hand" with :syntax on<return>

> 
> if you've put the cfg-files elsewhere, e.g. ~/lib/vim
> in ~/.vimrc

I don't seem to have a .vimrc (which is the Unix convention.
I do have an _vimrc in directory:
C:\Program Files\gvim57\vim
though
> 	let &runtimepath="~/lib/vim," . &runtimepath

What files should reside there?  I have a thing called: vimrun.exe in
C:\Program Files\gvim57\vim\vim57

> 
> in ~/.vim/filetype

I don't seem to have this file "filetype" anywhere, not even in
C:\Program Files\gvim57\vim\vim57\syntax


> 	augroup filetypedetect
> 		au! BufNewFile,BufRead *.rb  setfiletype ruby
> 	augroup end
> 
> in ~/.vim/scripts.vim
> 	if getline(1) =~ '^#!.*[/][^/]*ruby[^/]*\>'
> 		set filetype=ruby
> 	endif
> 
> and it should work. Check out ':help syntax' inside vim for more info.
I can see that stuff when the doc directory is installed at

C:\Program Files\gvim57\vim\vim57\doc

but nothing that looks relevant to my problem.

> If you're using vim 6.0, put the ruby.vim syntax file in the
> ~/.vim/syntax directory.
It is here at the moment:
C:\Program Files\gvim57\vim\vim57\syntax

I tried moving it to:
C:\Program Files\gvim57\vim\syntax
before, but this didn't help.  Maybe I should move the current ./syntax/*.*
to ./*.* to get it to work then?

	Thank you,
	Hugh
> 
> 	Michel
>