-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Build failure: vimPlugins.nvim-treesitter.tests.check-queries #333372
Comments
🤔 nvim-treesitter no longer bundles any queries for tree-sitter-org. So I wonder where they're coming from (if not from an older version of nvim-treesitter). |
now its bundling ALL the grammars into a single vimplugin-treesitter-grammars DRV, and another one of my plugins is somehow adding in duplicates causing a collision and I cannot figure out why, or what changed.... If I build a neovim with JUST nvim-treesitter.withAllGrammars it builds, and groups them all into a vimplugin-treesitter-grammars drv which it did not before, it used to just put them all in the packpath as their own plugin. If I try to build my config, something is adding more stuff in there to it and its conflicting, all I get is a single line saying it cant use ln because the parser exists already... doing a trace shows several duplicates. And none of the duplicates are from the builtin ones.... its not the norg overlay I tried disabling that... Pretty confused rn Any chance this is a related issue or should I be opening a new one? |
Also, judging by the issues threads about grammars, Does anyone ACTUALLY know how the queries were being included before being copied as described in this issue? If not we NEED to figure that out before continuing fixing them If anyone does, PLEASE let me know. Ive tried but I dont have the pre existing knowledge about grammars to figure it out yet I think |
The collisions I mentioned were this issue |
Collisions in treesitter grammars are impossible, as treesitter chooses the first grammar it finds, and ignores others (to allow plugins overwrite built-in grammars). Though bisected this to 51e6941, maybe that's also an upstream bug? |
Steps To Reproduce
Steps to reproduce the behavior:
vimPlugins.nvim-treesitter.tests.check-queries
Build log
Additional context
Add any other context about the problem here.
Notify maintainers
Maintainer: cc @figsoda
Other relevant contributors: cc @teto @mrcjkb
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: