nvim-treesitter-context icon indicating copy to clipboard operation
nvim-treesitter-context copied to clipboard

Incorrect context when using Java annotations

Open minhduc0711 opened this issue 3 years ago • 1 comments

I expect to see the method line instead of @Override. Not sure if this is related to your plugin or Treesitter tho.

https://user-images.githubusercontent.com/34294427/121860909-855dd280-cd23-11eb-9686-4d3eb9f7ec39.mp4

minhduc0711 avatar Jun 14 '21 08:06 minhduc0711

Oh yes, that's multi-line definitions being buggy again. If the java TS parser marks the decorators as part of the function node, it should be solved by debugging the multi-line nodes. I'll try to look at it soon.

romgrk avatar Aug 01 '21 01:08 romgrk

Hi, any updates on this?

cshjsc avatar Dec 05 '22 09:12 cshjsc

Hi, any updates on this?

No

lewis6991 avatar Dec 05 '22 12:12 lewis6991

With #198, Java is no longer supported. Will happily accept a PR that adds support.

lewis6991 avatar Mar 08 '23 13:03 lewis6991