Fixed problems with colors being absent, snapshots being excluded.
I might work on updating the nvim-treesitter and build with the lvim install scripts.
Search Criteria
Package Details: lunarvim-git 1.4.0.r5.gaa51c20-3
Package Actions
| Git Clone URL: | https://aur.archlinux.org/lunarvim-git.git (read-only, click to copy) |
|---|---|
| Package Base: | lunarvim-git |
| Description: | An IDE layer for Neovim with sane defaults |
| Upstream URL: | https://github.com/LunarVim/LunarVim |
| Keywords: | lunarvim neovim |
| Licenses: | GPL-3.0-only |
| Submitter: | edward-p |
| Maintainer: | xiota |
| Last Packager: | xiota |
| Votes: | 6 |
| Popularity: | 0.018555 |
| First Submitted: | 2021-08-08 18:14 (UTC) |
| Last Updated: | 2026-01-16 09:24 (UTC) |
Dependencies (13)
- fzf (fzf-gitAUR)
- git (git-gitAUR, git-glAUR, git-wd40AUR)
- lua (pallene-luaAUR)
- neovim (nvim-with-restricted-modeAUR, neovim-bundled-gitAUR, neovim-laterAUR, neovim-gitAUR, neovim-nightlyAUR, neovim-zig-gitAUR, neovim-nightly-binAUR)
- neovim-remoteAUR
- nodejs (nodejs-gitAUR, nodejs-lts-hydrogenAUR, python-nodejs-wheelAUR, nodejs-lts-iron, nodejs-lts-jod, nodejs-lts-krypton)
- tree-sitter (tree-sitter-gitAUR)
- yarn (yarn-berryAUR, yarn-corepackAUR)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- parallel (parallel-gitAUR) (make)
- tree-sitter-cli (tree-sitter-cli-gitAUR, tree-sitter-cli-github-binAUR) (make)
- lazygit (lazygit-gitAUR) (optional) – enables <leader>gg to launch lazygit for intergrated and enhanced Git experience while in lvim
- ripgrep (ripgrep-gitAUR) (optional) – optional dependencies for telescope.nvim
Required by (1)
- neovide-lunarvim (optional)
Sources (3)
cassius23 commented on 2022-08-25 11:31 (UTC)
prometheus commented on 2022-06-05 16:17 (UTC) (edited on 2022-06-05 16:17 (UTC) by prometheus)
In the PKGBUILD file, changing this line
cp -r {colors,ftdetect,lua,init.lua} "${pkgdir}/usr/share/lunarvim"
to this
cp -r {ftdetect,lua,init.lua} "${pkgdir}/usr/share/lunarvim"
resulted in successful installation albiet with couple warnings:
==> Starting build()...
Error detected while processing command line:
E5108: Error executing lua ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: Parser not available for language perl
stack traceback:
[C]: in function 'get_parser_install_info'
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: in function 'install_lang'
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:397: in function <...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:360>
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:416: in function 'run'
[string ":lua"]:1: in main chunkError detected while processing command line:
E5108: Error executing lua ...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: Parser not available for language Tree-sitterquerylanguage
stack traceback:
[C]: in function 'get_parser_install_info'
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:348: in function 'install_lang'
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:397: in function <...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:360>
...-git/src/nvim-treesitter/lua/nvim-treesitter/install.lua:416: in function 'run'
[string ":lua"]:1: in main chunk
prometheus commented on 2022-05-30 12:56 (UTC)
I still have the same issue as @PotHix:
==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'colors': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
-> error making: lunarvim-git
PotHix commented on 2022-03-22 13:05 (UTC)
Not working for me. It seems some directory or file is not being created:
Treesitter parser for zig has been installed==> Entering fakeroot environment...
==> Starting package()...
cp: cannot stat 'colors': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
pancho commented on 2021-12-18 06:54 (UTC) (edited on 2021-12-18 06:55 (UTC) by pancho)
Hi!
Since a week or so, running /usr/share/lunarvim/init-lvim.sh fails at this step:
==> Generate the new ftplugin template files..
lvim --headless +LvimUpdate +q
07:10:04 [ERROR] lvim: "Update failed! Check the log for further information" file="bootstrap.lua", line=150
The relevant log lines are:
07:10:04 [DEBUG] lvim: { "fatal: not a git repository (or any of the parent directories): .git" } file="lvim/lua/lvim/bootstrap.lua", line=125
07:10:04 [ERROR] lvim: "Update failed! Check the log for further information" file="lvim/lua/lvim/bootstrap.lua", line=150
Which are produced when calling the function M:update_repo() @ /usr/share/lunarvim/lua/lvim/boostrap.lua
I think the issue is that the get_lvim_base_dir() returns an incorrect directory, which is simply base_dir, which is defined on init.lua like this:
local init_path = debug.getinfo(1, "S").source:sub(2)
local base_dir = init_path:match("(.*[/\\])"):sub(1, -2)
My knowledge of lua is pretty much non-existent, so here is where I get lost.
Can you help me? Thanks a bunch!
Direct-A commented on 2021-11-07 03:45 (UTC) (edited on 2021-11-07 03:46 (UTC) by Direct-A)
It seems that you got a customized ${srcdir} please run echo ${srcdir} in the terminal. @ZorinArch
ZorinArch commented on 2021-11-05 13:09 (UTC) (edited on 2021-11-05 13:09 (UTC) by ZorinArch)
I got this error
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!Parsers are up-to-date!==> Entering fakeroot environment...
==> Starting package()...
install: cannot stat '~/neovim/lunarvim-git/src/nvim-treesitter/parser/*.so': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
Direct-A commented on 2021-11-04 15:00 (UTC)
Now the Tree-sitter module installation hang on problem is fixed.
nightcode commented on 2021-10-30 17:19 (UTC)
The latest version fails to build for me too. It also hangs on the Tree-sitter module installation.
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.