tree-sitter-langs
tree-sitter-langs copied to clipboard
Java grammar not fully recognized
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

Example from doom with vscode theme

You can notice here that for some reason imported types such as ConsumerConfig are colored as a keywords, so are annotations.
I am bumping this since the issue still persists.