Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

wrong rubyBracketOperator syntax match. #111

Closed
stardiviner opened this Issue Nov 4, 2012 · 4 comments

Comments

Projects
None yet
3 participants

Here is an example:

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

dkearns commented Nov 4, 2012

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

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

Owner

tpope commented Nov 4, 2012

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

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

@stardiviner stardiviner closed this Nov 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment