Package Details: lunarvim-git 1.2.0.r57.gb661efb3-2

Git Clone URL: (read-only, click to copy)
Package Base: lunarvim-git
Description: An IDE layer for Neovim with sane defaults. Completely free and community driven.
Upstream URL:
Keywords: lunarvim neovim
Licenses: GPL3
Submitter: edward-p
Maintainer: cassius23
Last Packager: cassius23
Votes: 3
Popularity: 0.82
First Submitted: 2021-08-08 18:14 (UTC)
Last Updated: 2023-04-21 06:50 (UTC)

Latest Comments

1 2 3 Next › Last »

grdgkjrpdihe commented on 2024-01-17 15:32 (UTC)

lvim is using lazy now. path of treesitter should become:

diff --git a/ b/
index 7308b31..e6d068e 100755
--- a/
+++ b/
@@ -18,9 +14,9 @@ lvim --headless -c 'quitall'

 echo -e "\033[1;32m==> Installing treesitter parsers..\033[0m"
 ln -s /usr/share/lunarvim/prebuild/nvim-treesitter/parser/* \
-  ~/.local/share/lunarvim/site/pack/packer/start/nvim-treesitter/parser/
+  ~/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser/
 ln -s /usr/share/lunarvim/prebuild/nvim-treesitter/parser-info/* \
-  ~/.local/share/lunarvim/site/pack/packer/start/nvim-treesitter/parser-info/
+  ~/.local/share/lunarvim/site/pack/lazy/opt/nvim-treesitter/parser-info/

 echo -e "\033[1;32m==> Generate the new ftplugin template files..\033[0m"
 lvim --headless +LvimUpdate +q

REmorin commented on 2023-04-12 23:21 (UTC)

@cassius23 - please update the script, as it fails, because lunarvim no longer uses Packer.

Also, the treesitter source uses very old and outdated 0.5-compat branch, so please switch it to master.

pi314ever commented on 2022-12-21 03:27 (UTC)

I'm getting the same errors as @Tangdi along with the invalid Tree-sitterquerylanguage mentioned by @Xar. The current update doesn't seem to help this issue.

I have neovim previously installed with some configs which I suspect might be the issue, will there be a fix anytime soon?

joshmackwilliams commented on 2022-12-20 15:07 (UTC)

The issue I mentioned below is resolved for me in the latest version (1.2.0.r57.gb661efb3-2). Thanks @cassius23!

Xar commented on 2022-12-18 21:51 (UTC)

You might try this, but definitely test it out:

build() {
  cd "${srcdir}/nvim-treesitter"

  for lang in ${langs[@]}; do
    if [[ ! -e ${runtime}/parser/${lang}.so ]]; then
      XDG_CONFIG_HOME='/dev/null' \
        XDG_DATA_HOME='/dev/null' \
        XDG_STATE_HOME='/dev/null' \
        nvim --clean --headless \
        --cmd "set runtimepath+=${runtime}" +"TSUpdateSync ${lang}" +qall

There's an unrelated error with the langs entry Tree-sitterquerylanguage, which is invalid.

Xar commented on 2022-12-18 20:57 (UTC) (edited on 2022-12-18 20:58 (UTC) by Xar)

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/" 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?

cassius23 commented on 2022-12-17 19:15 (UTC)

The package is following master branch so the version should be appropriate now.

Tangdi commented on 2022-12-17 07:26 (UTC)

Hi, I try to install this package but always get this error:

==> Starting package()...
install: cannot stat '/home/yang/.cache/paru/clone/lunarvim-git/src/nvim-treesitter/parser/*.so': No such file or directory

I checked the PKGBUILD and the treesitter repo, there are no such .so files in the respective direcotory.