rainbow icon indicating copy to clipboard operation
rainbow copied to clipboard

bold syntax

Open d3matt opened this issue 4 years ago • 4 comments

Is there currently an option to make the colors bold in addition to the rainbow colors?

d3matt avatar May 06 '20 16:05 d3matt

Yes, look at the README about configuration: https://github.com/luochen1990/rainbow#configure there is guis and cterms option.

luochen1990 avatar May 12 '20 06:05 luochen1990

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...)

d3matt avatar May 15 '20 22:05 d3matt

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.

luochen1990 avatar May 22 '20 03:05 luochen1990

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.

rwmitchell avatar Feb 06 '23 18:02 rwmitchell