Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java grammar not fully recognized #66

Open
asmodeus812 opened this issue Jan 8, 2022 · 1 comment
Open

Java grammar not fully recognized #66

asmodeus812 opened this issue Jan 8, 2022 · 1 comment

Comments

@asmodeus812
Copy link

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 emacs-tree-sitter/elisp-tree-sitter#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
Copy link
Author

I am bumping this since the issue still persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants