Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong color priority in ruby files #70

Open
dominikduda opened this issue Feb 10, 2017 · 4 comments
Open

Wrong color priority in ruby files #70

dominikduda opened this issue Feb 10, 2017 · 4 comments
Labels

Comments

@dominikduda
Copy link

Hello,

Colors mess up in ruby files inside methods and classes.

image

That is pretty annyoing, because I want first level of parentheses to be text color.

In other file types it works correctly.

My config:

let g:rainbow_conf = {
    \   'ctermfgs': ['red', 'green', 'blue', 'black', 'orange', 'magenta'],
    \   'operators': '_,_',
    \   'parentheses': ['start=/(/ end=/)/ fold', 'start=/\[/ end=/\]/ fold', 'start=/{/ end=/}/ fold'],
    \}

Is that fixable?

@bartoszmaka
Copy link

Im experiencing this issue as well

@luochen1990
Copy link
Owner

I'm not sure what effect you are expecting, you want to fix the outmost color to blue, is that right ?

@dominikduda
Copy link
Author

dominikduda commented Apr 21, 2017

I'm expecting that all the parentheses will be colored as set in settings - same as in line 4, 5, and 6.

Yet inside methods, it breaks - first color is magenta instead of red.

@luochen1990
Copy link
Owner

Yes, I can reproduce this issue, but only for ruby files, I still can't figure out the problem ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants