0.9.5-4 depends on tree-sitter parsers that it doesn't ship queries for
Problem:
The new package depends on bash c
, lua
, markdown
, python
, query
, and vimdoc
. But as shipped, it cannot use markdown
or python
.
Additional info:
To use tree-sitter on a buffer for highlights or folding, neovim needs the corresponding query files. 0.9.5 ships with fewer queries than there are parsers that Archlinux package depends on, making them unusable out of the box.
Steps to reproduce:
nvim --clean '+=vim.treesitter.start()' <FILE>
Syntax highlighting is off when the file is .md
or .py
.
Solution:
At least these two should not be a hard dependency.
More properly, none of them should be a hard dependency. There is nothing in 0.9.5 that activates tree-sitter by default. It is still considered experimental; users have the option of enabling it, if they wish.