syntax/hilight bug re PreProc?

Tilman Sauerbeck tilman at code-monkey.de
Sat Apr 2 13:06:54 EST 2005


Doug Kearns <dougkearns at gmail.com> [2005-04-02 22:13]:
> On Sat, Apr 02, 2005 at 01:51:58PM +0200, Tilman Sauerbeck wrote:
> > Hi,
> > it seems there's a bug in ruby.vim regarding the PreProc hilight
> > "class" - it looks like "require", "def", "end" and probably more
> > keywords get put into the PreProc class.
> > 
> > I don't understand how this can happen, since PreProc only contains
> > rubySharpBang (ruby.vim).
> 
> It's because they're linked against the minor highlight groups Include
> and Define which are linked, by default, to PreProc.
>  
> > Any idea what's wrong here?
>  
> If you haven't specified different colors for these minor groups via
> :highlight commands or a 'colorscheme' then PreProc will be used...

I see, thank you!

-- 
Regards,
Tilman


More information about the vim-ruby-devel mailing list