tree-sitter-langs icon indicating copy to clipboard operation
tree-sitter-langs copied to clipboard

Java grammar not fully recognized

Open asmodeus812 opened this issue 3 years ago • 1 comments

Hello while playing with tree sitter i noticed that few grammars are not properly working or being recognized. There are some inconsistencies. Please check this report i made here https://github.com/emacs-tree-sitter/elisp-tree-sitter/issues/198

Testing the same files with nvim with treesitter produces correct and consistent results, Below you can notice that variable usage is correctly reported. Example from nvim with vscode theme image image

Example from doom with vscode theme image image

You can notice here that for some reason imported types such as ConsumerConfig are colored as a keywords, so are annotations.

asmodeus812 avatar Jan 08 '22 08:01 asmodeus812

I am bumping this since the issue still persists.

asmodeus812 avatar Mar 18 '22 17:03 asmodeus812