rainbow
rainbow copied to clipboard
bold syntax
Is there currently an option to make the colors bold in addition to the rainbow colors?
Yes, look at the README about configuration: https://github.com/luochen1990/rainbow#configure
there is guis
and cterms
option.
Ok, I'm probably missing something (or have some odd interaction with the normal syntax highlighter). I set this in my vimrc:
let g:rainbow_conf = {'guis': ['bold']}
let g:rainbow_active = 1
It seems to be working in XML files but not c++ files (which is what I'm trying to get...)
emmm, Can you use the tools in the README about troubleshooting to check what happend? It is possible that other syntax rule takes precedence than rainbow.
What did you discover, d3matt ? Did you solve your issue and get bold parens working?
I've discovered if setting g:rainbow_conf interactively (using values above) in current vim session, it needs to be followed with:
:RainbowToggleOn
This is probably obvious to everyone else.