syntax/hilight bug re PreProc?

Doug Kearns dougkearns at gmail.com
Sat Apr 2 07:13:59 EST 2005


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...

Regards,
Doug


More information about the vim-ruby-devel mailing list