From: "Gray, Jeff" Date: 2002-04-27T05:45:07+09:00 Subject: RE: Small patch for ruby,vim syntax highlighting file > From: Michael Brailsford [mailto:brailsmt@yahoo.com] > Sent: Thursday, April 25, 2002 9:02 PM > Subject: Small patch for ruby,vim syntax highlighting file > > I posted this to the vim-dev mailing list and hopefully it will be > incorporated in the vim distribution. Until then, for those of us who > use vim (I am biting my tongue...arghh...emacs sucks...note to self - > bite harder...) apply this patch to $VIMRUNTIME/syntax/ruby.vim. This > fixes highlighting errors with class vars, ie. @@a_class_var, > and now \w is highlighted properly in Regexp's, ie. /\b\w+\b/. Excellent. While you're at it, would you consider finding a fix to the following problem as well? In: array = [:foo, :bar] ":foo" will not highlight correctly unless you separate the colon from the open-bracket. While I love a good debugging challenge, syntax-highlighting command files give me a migraine... ;^) Thanks, - jeff