Chinmay Dalal
Chinmay Dalal
(I do have rainbow enabled there, they are all different shades of blue/grey)
I can reproduce this when I disable https://github.com/jiangmiao/auto-pairs
fwiw you can get around this without an autopair plugin by inserting the closing bracket first, and if you want to delete the brackets then delete the opening one first
This might be related to https://github.com/steelsojka/pears.nvim/issues/11#issue-864786260
It's not random per se, it just uses all nodes to calculate nesting depth (instead of only brackets) so it appears random This was adressed by #25 but I reverted...
I'll try to do it this week
Sorry I got caught up in acads, I'll get to it now
You can try out the `colornum` branch now, I've done lua, c++ and rust. > Let me know if I can help! Can you test if there's a performance hit...
before  after 
There's nothing much I can do for lua though - it's a parser limitation. To highlight `print(1+(2+(3)))` correctly I'll have to count `binary_operation` since there is no `parenthesized_expression` node like...