Hello!
Firstly, thank you for this plugin - I've been using it extensively!
I have a problem for which I didn't find plausible solution after searching through this repository.
To be precise, I want to disable matching parentheses, curly brackets, etc within C define commands.
The reason for this behavior is that rainbow's own highlights will break vim syntax highlights (this is especially apparent in multi-line defines) as seen in example image below
| Current behavior |
 |
I want to keep highlights for all pairs of parentheses, brackets, etc while not matching ones in define statements. Example of desired behavior can be seen on image below
| Desired behavior |
 |
Can this be achieved just through configuration, or alternatively, a patch I can apply for this plugin?
Just as a note, I don't wish to completely disable matching for C filetype.
Hello!
Firstly, thank you for this plugin - I've been using it extensively!
I have a problem for which I didn't find plausible solution after searching through this repository.
To be precise, I want to disable matching parentheses, curly brackets, etc within C
definecommands.The reason for this behavior is that
rainbow's own highlights will break vim syntax highlights (this is especially apparent in multi-linedefines) as seen in example image belowI want to keep highlights for all pairs of parentheses, brackets, etc while not matching ones in
definestatements. Example of desired behavior can be seen on image belowCan this be achieved just through configuration, or alternatively, a patch I can apply for this plugin?
Just as a note, I don't wish to completely disable matching for C filetype.