Method definition highlighting

Nikolai Weibull now at bitwi.se
Tue Feb 20 08:37:14 EST 2007


On 2/20/07, Doug Kearns <dougkearns at gmail.com> wrote:
> One of the reasons I'd temporarily forgotten that the current CVS wasn't
> highlighting method names specially in method definitions is because
> I've never liked it and have a local customization to prevent it.
>
> I much prefer the "self" in:
>
> def self.bar: end
>
> and the "Foo" in:
>
> def Foo::bar; end
>
> to be highlighted normally as rubyPseudoVariable, rubyConstant and
> rubyLocalVariableOrMethod respectively rather than all of them being
> highlighted as part of the artificial rubyFunction.
>
> Does anyone else have any thoughts on this?

Can't remember if I have this disable as well, but highlighting self
does make sense, I think.

  nikolai


More information about the vim-ruby-devel mailing list