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

Why are the queries not in sync with nvim-treesitter's queries? #75

Closed
viperML opened this issue Aug 12, 2024 · 1 comment
Closed

Why are the queries not in sync with nvim-treesitter's queries? #75

viperML opened this issue Aug 12, 2024 · 1 comment

Comments

@viperML
Copy link

viperML commented Aug 12, 2024

In my journey of investigating how tree-sitter works, I've noticed that the queries are duplicated here and at nvim-tresitter repo, and I see that they are not kept in sync.

What is that? Should neovim and other highlight program prefer any of the 2?

@leo60228
Copy link

The highlights.scm captures are poorly specified by upstream tree-sitter, so most editor plugins do not use parser-provided queries (nvim-treesitter, Helix, emacs-tree-sitter, Zed).

There has been some discussion about fixing this, which appears to mostly be in this nvim-treesitter issue: nvim-treesitter/nvim-treesitter#3944

@viperML viperML closed this as completed Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants