HiPhish / rainbow-delimiters.nvim

Rainbow delimiters for Neovim with Tree-sitter
https://gitlab.com/HiPhish/rainbow-delimiters.nvim
Apache License 2.0
470 stars 35 forks source link

fix(php): remove buggy string interpolation curly braces #24

Closed liljaylj closed 11 months ago

liljaylj commented 11 months ago

image

this snippet gives 6! combinations of opening and closing curly braces (because they all on same level in the tree). therefore it messes up highlight.

i think it would be better to remove this query. especially since there won't be encapsulation inside another encapsulation (i don't think it's even possible)

HiPhish commented 11 months ago

I think the pattern is useful, just not for the current state of Neovim. I have commented it out and added a remark to the top of the pattern. We can comment it back in once the issue is resolved.