The official 0.6.1 neovim release shipped by neovim builds against tree-sitter 0.20.1. Tree-sitter 0.20.1 or newer provides tree-sitter ABI version 14, whereas tree-sitter 0.20.0 provides only ABI version 13. The nvim-treesitter plugin displays bugs with tree-sitter 0.20.0, see for instance https://github.com/nvim-treesitter/nvim-treesitter/issues/2579. I suggest that Gentoo requires >=dev-libs/tree-sitter-0.20.1 for neovim. I would suggest so for neovim 0.6.1, possibly also for 0.6.0 and I am not sure about 0.5.1. Reproducible: Always
There is a related discussion here: https://github.com/nvim-treesitter/nvim-treesitter/issues/2581
As another hint, third-party/CMakeLists.txt mentions tree-sitter 0.20.1. This is for the bundled dependencies at least and would be a reasonable indicator, I think.
(In reply to Stefan Huber from comment #2) > As another hint, third-party/CMakeLists.txt mentions tree-sitter 0.20.1. > This is for the bundled dependencies at least and would be a reasonable > indicator, I think. Yep, and apologies for missing it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1979dbb2dea9e3f5c035443a0af0ba5091e638dd commit 1979dbb2dea9e3f5c035443a0af0ba5091e638dd Author: Sam James <sam@gentoo.org> AuthorDate: 2022-02-26 03:09:18 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-02-26 03:43:22 +0000 app-editors/neovim: update tree-sitter lower bound, other dep bounds Closes: https://bugs.gentoo.org/834039 Signed-off-by: Sam James <sam@gentoo.org> .../{neovim-0.6.1.ebuild => neovim-0.6.1-r1.ebuild} | 16 +++++++++------- app-editors/neovim/neovim-9999.ebuild | 18 ++++++++++-------- 2 files changed, 19 insertions(+), 15 deletions(-)