Closed ganzuul closed 4 years ago
Hello @ganzuul ,
This happens because both extensions use decoration API. And priority of decoration providers (order in which decorations are applied) cannot be defined.
I recommend you to simply disable highlighting of punctuation tokens. There is special setting for this. Just put "syntax.highlightTerms": [...],
in your settings.json
and remove "punctuation"
from the array of terms to highlight.
Rainbow Brackets by 2gua colors pairs of e.g. parenthesis, which helps immensely with finding errors in nesting. And it looks pretty. When Syntax Highlighter is enabled it seems to override the stylesheet for brackets, clobbering the entire purpose of the other extension.
This happens with C/C++ but not with Python code, with and without Microsoft's C/C++ extension.
Removing
from grammars/cpp.json seems to fix the problem.