rainbow
rainbow copied to clipboard
Wrong color priority in ruby files
Hello,
Colors mess up in ruby files inside methods and classes.
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?
Im experiencing this issue as well
I'm not sure what effect you are expecting, you want to fix the outmost color to blue, is that right ?
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.
Yes, I can reproduce this issue, but only for ruby files, I still can't figure out the problem ...