Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

wrong rubyBracketOperator syntax match. #111

Closed
stardiviner opened this Issue · 4 comments

3 participants

@stardiviner

Here is an example:

hash1 = { [1, 2] => 'hi' }
puts hash1[[1, 2]] # Here the first `[` and first `]` is highlighted.
@dkearns
Owner

I can't reproduce this with the 7.3 or Git versions using your example. Both highlight the last ']' correctly.

@stardiviner

@dkearns Here is my screenshot, I use Vim 7.3 and Git lastest version vim-ruby.
screenshot

@tpope
Owner

Sounds like a case of ruby_no_expensive. Do you have that set in your vimrc?

@stardiviner

@tpope Yes. You're right, It works correct after I commented out that option.

@stardiviner stardiviner closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.