PATCH: link rubyIdentifier to NONE when ruby_no_identifiers is
set
Doug Kearns
dougkearns at gmail.com
Mon Aug 29 02:04:46 EDT 2005
On Thu, Aug 25, 2005 at 01:48:03AM +0200, Nikolai Weibull wrote:
> Doug Kearns wrote:
>
> > Nikolai, you're the only one I've come across who actually uses this
> > so let me know if there are any problems.
>
> Please excuse my tardiness. Actually, I have my own funky handling of
> identifiers. I don't think that what you've done should cause any
> problems, though.
>
> This is what I have:
>
> syn match rubyScopeSpecifier display containedin=rubyClassVariable,rubyInstanceVariable,rubyGlobalVariable "\%(@\+\|\$\)"
> syn match rubyClassVariable "@@\h\w*" display
> syn match rubyInstanceVariable "@\h\w*" display
> syn match rubyGlobalVariable "$\%(\h\w*\|-.\)" display
>
> I like having global variables highlighted (so as to not use thum). And
> I like having the scope-specifier highlighted in @blah and @@bluh.
> Having them highlighted makes them stand out, without hurting my eyes,
I wonder if this would be worth including as an option?
Regards,
Doug
More information about the vim-ruby-devel
mailing list