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
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.
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