No, it's still broken. There's a conflict between this and any pre-existing installations of nvim.
In PKGBUILD, the build() script runs:
nvim --cmd "set runtimepath+=${runtime}" --headless +"TSUpdateSync ${lang}" +qall
That shouldn't be part of this package. It's not safe, because: - it will use the existing configs and data dirs - nvim-treesitter won't install them in the local location anyway
Bear in mind that any parser installed into a parser folder on the runtime path will still be considered installed. (For example if "~/.local/share/nvim/site/parser/c.so" exists then the "c" parser will be considered installed, even though it is not in
parser_install_dir)
Later in PKGBUILD in package, it does:
for parser in "${srcdir}/nvim-treesitter/parser/"*.so; do
This doesn't exist, hence the error.
Can't lunarvim do this on startup rather than in this script?
Pinned Comments
Hanatomizu commented on 2025-01-31 13:37 (UTC)
Well, I must acknowledge that the process of rebuilding all nvim-treesitter plugins is indeed quite frustrating.
If you wish to avoid frequent rebuilds of this package, it is recommended to add it to the
IgnorePkglist in/etc/pacman.conf.