@Farzat, sorry, I don't know if this will ping you or not. Removing all the packages you listed did not cause any problems in LazyVim, except for tree-sitter itself. Neovim does not start with the following error: "nvim: error while loading shared libraries: libtree-sitter.so.0.25: cannot open shared object file: No such file or directory".
Search Criteria
Package Details: neovim-git 0.12.0.r2460.g563f9ef799-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/neovim-git.git (read-only, click to copy) |
|---|---|
| Package Base: | neovim-git |
| Description: | Fork of Vim aiming to improve user experience, plugins, and GUIs |
| Upstream URL: | https://neovim.io |
| Keywords: | editor |
| Licenses: | custom:neovim |
| Conflicts: | neovim |
| Provides: | neovim, vim-plugin-runtime |
| Submitter: | fhahn |
| Maintainer: | Farzat (gpanders) |
| Last Packager: | Farzat |
| Votes: | 261 |
| Popularity: | 0.82 |
| First Submitted: | 2014-02-21 19:50 (UTC) |
| Last Updated: | 2026-03-01 11:04 (UTC) |
Dependencies (17)
- libluv
- libutf8proc (libutf8proc-gitAUR)
- libuv (libuv-gitAUR)
- lua51-lpeg
- luajit (luajit-2.1-lua52-gitAUR, luajit-clang-gitAUR, luajit-gitAUR, luajit-openrestyAUR)
- msgpack-c (msgpack-c-gitAUR)
- tree-sitter (tree-sitter-gitAUR)
- unibilium
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR) (make)
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR) (make)
- python-pynvim (python-pynvim-gitAUR) (optional) – for Python plugin support (see :help python)
- tree-sitter-cli (tree-sitter-cli-github-binAUR, tree-sitter-cli-gitAUR) (optional) – for tree-sitter parser compilation
- wl-clipboard (wl-clipboard-rs-gitAUR, wl-clipboard-gitAUR, wl-clipboard-rsAUR) (optional) – for clipboard support on wayland (see :help clipboard)
- xclip (wl-clipboard-x11AUR, xclip-gitAUR) (optional) – for clipboard support on X11 (or xsel) (see :help clipboard)
- xsel (xsel-gitAUR, wl-clipboard-x11AUR) (optional) – for clipboard support on X11 (or xclip) (see :help clipboard)
Required by (470)
- alacritty-mcp (requires neovim) (optional)
- arch-update (requires neovim) (optional)
- arch-update-git (requires neovim) (optional)
- arduino-cli-manager-git (requires neovim)
- autoricer-bin (requires neovim) (optional)
- candyvim-git (requires neovim)
- cmp-buffer (requires neovim)
- contextpilot (requires neovim) (optional)
- contextpilot-git (requires neovim) (optional)
- cppman-git (requires neovim) (optional)
- deoplete (requires neovim) (optional)
- deoplete-git (requires neovim) (optional)
- eovim (requires neovim)
- fvim (requires neovim)
- fvim-bin (requires neovim)
- glrnvim (requires neovim)
- gnvim-git (requires neovim)
- goneovim-bin (requires neovim)
- goneovim-git (requires neovim)
- grg-git (requires neovim) (optional)
- Show 450 more...
Sources (3)
Elis commented on 2026-02-11 16:23 (UTC)
Farzat commented on 2026-02-11 15:28 (UTC)
@Elis I see your point.
I am assuming we need to remove tree-sitter-c, tree-sitter-lua, tree-sitter-markdown, tree-sitter-query, tree-sitter-vimdoc, and tree-sitter-vim.
But what about tree-sitter itself? Can you please check?
Elis commented on 2026-02-10 14:28 (UTC)
Is tree-sitter-vim really needed as a dependency? It breaks its use with various builds, such as LazyVim.
The problem that arises: https://github.com/nvim-treesitter/nvim-treesitter/issues/8369
Forced removal fixes the situation. Not sure if it breaks anything in pure Nvim, but it solves the problem in Lazy.
Knotrocket commented on 2025-11-21 03:08 (UTC)
@fwalch You're right, I guess I just had an unlucky commit.
Farzat commented on 2025-11-20 06:51 (UTC)
@Knotrocket, I tried building the package just now, and /usr/bin/tee was not in the list of files output by pacman -Qlp (i.e. I could not reproduce the issue).
Knotrocket commented on 2025-11-20 02:11 (UTC) (edited on 2025-11-20 02:16 (UTC) by Knotrocket)
This package attempts to override /usr/bin/tee for some reason even when installing with makepkg directly in a minimal VM.
Package (1) New Version Net Change
neovim-git 0.12.0.r1660.gba6fc90b6f-1 26.15 MiB
Total Installed Size: 26.15 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring
(1/1) checking package integrity
(1/1) loading package files
(1/1) checking for file conflicts
error: failed to commit transaction (conflicting files)
neovim-git: /usr/bin/tee exists in filesystem (owned by coreutils)
Errors occurred, no packages were upgraded.
==> WARNING: Failed to install built package(s).
rgambord commented on 2025-02-22 22:24 (UTC)
# Make Arch Vim packages work
mkdir -p "${pkgdir}"/etc/xdg/nvim
echo "\" This line makes pacman-installed global Arch Linux vim packages work." > "${pkgdir}"/etc/xdg/nvim/sysinit.vim
echo "source /usr/share/nvim/archlinux.vim" >> "${pkgdir}"/etc/xdg/nvim/sysinit.vim
mkdir -p "${pkgdir}"/usr/share/vim
echo "set runtimepath+=/usr/share/vim/vimfiles" > "${pkgdir}"/usr/share/nvim/archlinux.vim
Doesn't to umask 022, so only root sees these newly created files. If you have a custom /usr/share/nvim/sysinit.lua, then this will override that and trash root's nvim setup while leaving users alone.
lervag commented on 2025-02-02 15:05 (UTC)
@meflove It's because neovim at HEAD requires tree-sitter 0.25. It should work well if you install tree-sitter-git.
meflove commented on 2025-02-01 21:30 (UTC)
failed to build with clang compiler
[546/688] Building C object src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o
FAILED: src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o
/usr/bin/cmake -E env CCACHE_SLOPPINESS=pch_defines,time_macros /usr/bin/ccache /usr/lib/ccache/bin/clang -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -DUTF8PROC_STATIC -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/home/meflove/build/neovim-git/src/neovim/build/src/nvim/auto -I/home/meflove/build/neovim-git/src/neovim/build/include -I/home/meflove/build/neovim-git/src/neovim/build/cmake.config -I/home/meflove/build/neovim-git/src/neovim/src -isystem /usr/include/luajit-2.1 -isystem /home/meflove/build/neovim-git/src/neovim/.deps/usr/include -march=native -mtune=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto=auto -O3 -DNDEBUG -flto=thin -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wimplicit-fallthrough -fdiagnostics-color=always -MD -MT src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o -MF src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o.d -o src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o -c /home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c
/home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c:221:27: error: call to undeclared function 'ts_language_abi_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
221 | uint32_t lang_version = ts_language_abi_version(lang);
| ^
/home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c:221:27: note: did you mean 'ts_language_version'?
/usr/include/tree_sitter/api.h:1135:10: note: 'ts_language_version' declared here
1135 | uint32_t ts_language_version(const TSLanguage *self);
| ^
/home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c:221:27: warning: implicit conversion changes signedness: 'int' to 'uint32_t' (aka 'unsigned int') [-Wsign-conversion]
221 | uint32_t lang_version = ts_language_abi_version(lang);
| ~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c:303:22: error: call to undeclared function 'ts_language_abi_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
303 | lua_pushinteger(L, ts_language_abi_version(lang)); // [retval, version]
| ^
/home/meflove/build/neovim-git/src/neovim/src/nvim/lua/treesitter.c:479:68: warning: excess elements in struct initializer [-Wexcess-initializers]
479 | input = (TSInput){ (void *)buf, input_cb, TSInputEncodingUTF8, NULL };
| ^~~~
/usr/lib/clang/20/include/__stddef_null.h:26:14: note: expanded from macro 'NULL'
26 | #define NULL ((void*)0)
| ^~~~~~~~~~
2 warnings and 2 errors generated.
[559/688] Building C object src/nvim/CMakeFiles/nvim_bin.dir/marktree.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
enticedwanderer commented on 2024-11-12 19:58 (UTC)
@Ranguna I had the same issue and it's because aur/tree-sitter-git was out of date. Rebuilding that first allowed neovim-git to compile successfully.
Pinned Comments
fwalch commented on 2016-07-04 19:52 (UTC) (edited on 2016-07-04 19:54 (UTC) by fwalch)