I've tried a dozen rainbow plugins.
They all work, until i open a php file or set filetype=php. Then I get parentheses with the same color in that buffer.
what is the reason for this? I tried learning about vim's syntax highlight files, but it is harder then picking up a new low level language and then reading an undocumented program... not really something i can do in a few hours :( only the php.vim syntax is over 700 lines.
I've found this: https://defuse.ca/blog/vim-rainbow-parentheses-work-in-php suggesting i edit php.vim and change:
- syn cluster phpClTop contains=@phpClFunction,phpFoldFunction,phpFoldClass,phpFoldInterface,phpFoldTry,phpFoldCatch
+ syn cluster phpClTop contains=@phpClFunction,phpFoldFunction,phpFoldClass,phpFoldInterface,phpFoldTry,phpFoldCatch,level16
but it did nothing... and i could find anything else, not even looking on the g:rbpt_max
var that article mentions.
ideas? Anything that works on php for you?