We ship tree-sitter parsers without queries

Description:

Separately-packaged tree sitter parsers don't contain query files.

The (presumably) main consumer of parsers, Neovim, ships a few queries (currently c, lua, markdown, query, vim, and vimdoc). So the corresponding packages can be used as-is with Neovim, and are in fact its deps.

We also ship bash, javascript, python, and rust — at the moment — but no package ships the queries. Hence for these file types,

nvim --clean '+=vim.treesitter.start()' <FILE>

...results in no syntax highlighting (or anything else beyond :InspectTree dumping the AST).

Additional info:

This is really a continuation of #4 (closed). It's no longer a matter of deps, but something still needs to ship the queries too. Without them, the parsers are mostly useless, and our packaging of them is incomplete.

A difficulty is that the queries typically have to be in sync with both the parser version and Neovim — the parsers occasionally change the AST they produce, and Neovim occasionally changes the capture groups it needs.

I would probably include the queries with every tree-sitter-XXX package; dump them into a separate place, like /usr/share/tree_sitter/queries; and append this to the path in /usr/share/nvim/archlinux.lua, so that any queries bundled with Neovim take precedence.

But the queries must be shipped somehow.