Closed Gordin closed 1 year ago
FYI, I tried to debug this myself, and it seems like it's actually not the wrong color, it's just not using Rainbow colors at all for lines with comments
After that, I searched the code for comment
, removed one line and that fixes it... #147
Describe the bug
When there is an inline comment at the end of a line, the color of the brackets will be different from the other lines. Tested it lua and python. Happens for all lines with comments, not just the first one.
Steps to reproduce Open a file with the code below
It stays wrong even after doing
TSDisable rainbow
TSEnable rainbow
. It does fix itself, though, when you put a pair of brackets inside the one with the wrong color and delete it again.Expected behavior Colors should be the same
Screenshots