HiPhish / rainbow-delimiters.nvim

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

fix(java): delimiter not work, fix #115 #116

Closed wenjinnn closed 4 months ago

wenjinnn commented 4 months ago

After some research, I find out #115 related to some treesitter deprecated syntax, and it cause a error with nvim 0.10, see this issue. I'm not very familiar with treesitter query syntax, but by remove the condition block, delimiter for java work well now

HiPhish commented 4 months ago

Nice catch, it looks like the condition node was removed, and it looks like no highlighting is missing, so it's probably safe to remove it without substitute.