Package Details: neovim-git 0.10.0.r2536.g55c9e2c96e-1

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
Last Packager: Farzat
Votes: 256
Popularity: 1.80
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2024-03-11 05:36 (UTC)

Dependencies (17)

Required by (431)

Sources (3)

Pinned Comments

fwalch commented on 2016-07-04 19:52 (UTC) (edited on 2016-07-04 19:54 (UTC) by fwalch)

Please don't flag this package out-of-date just because the version number displayed on AUR seems old. This is normal for VCS packages. As long as building the package works without problems, it isn't necessary to update the PKGBUILD here. makepkg will automatically retrieve the latest version when you build the package locally.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 40 Next › Last »

sapient_cogbag commented on 2023-09-27 05:55 (UTC) (edited on 2023-09-27 06:34 (UTC) by sapient_cogbag)

The Neovim built by this PKGBUILD currently does not work fully. Neovim now by-default depends on some bundled TreeSitter parsers (in particular, for LSP hover, it now needs the Markdown treesitter parser ^.^), and this PKGBUILD doesn't currently build those default bundled treesitter parsers.

To fix it, it should hopefully be relatively simple - the neovim github provides instructions on how to include only one or two bundled deps: https://github.com/neovim/neovim/wiki/Building-Neovim#how-to-build-without-bundled-dependencies

The relevant CMake define to use on the dependencies CMake dir (from looking in https://github.com/neovim/neovim/blob/master/cmake.deps/CMakeLists.txt ^.^) should be -DUSE_BUNDLED=OFF -DUSE_BUNDLED_TS_PARSERS

Edit: In particular, it gives errors when trying to use LSP hover, because it expects the markdown and markdown_inner parsers to be installed :(

Edit 2: This code in build() fixes the problem for me ^.^

        cmake -S"$_pkgname/cmake.deps" -B"$_pkgname/.deps" \
                -GNinja \
                -DUSE_BUNDLED=OFF \
                -DUSE_BUNDLED_TS_PARSERS=ON
        cmake --build "$_pkgname/.deps"

        cmake -S"$_pkgname" -Bbuild \
                -GNinja \
                -DCMAKE_BUILD_TYPE=RelWithDebInfo \
                -DCMAKE_INSTALL_PREFIX=/usr
        cmake --build build

It ends up with the cmake --install putting the parsers in /usr/lib/nvim/parser, but I think that's on the runtimepath given that it still makes neovim work correctly :)

willemw commented on 2023-08-29 16:53 (UTC) (edited on 2023-08-29 17:05 (UTC) by willemw)

The git command in pkgver() does not print the latest tag. It prints v0.9.0.

The latest version is v0.9.1. Package neovim is on version 0.9.1. See also the output of git tag.

EDIT: The installed version is even higher:

$ nvim --version                                                                                                                                                            
NVIM v0.10.0-dev-986+g97cfee39ee
...

eclairevoyant commented on 2023-07-19 23:47 (UTC) (edited on 2023-07-20 00:22 (UTC) by eclairevoyant)

@alone no. https://bugs.archlinux.org/task/34677

@REMorin read https://wiki.archlinux.org/title/Arch_User_Repository#Flagging_packages_out-of-date, also you obviously didn't read the pinned comment

REmorin commented on 2023-07-19 11:38 (UTC)

@eclairevoyant, the version should be 0.10.0.*, shouldn't it?

alone commented on 2023-07-14 08:22 (UTC)

Can it clone neovim repository with --depth 1, it would reduce download size and time a lot.

jhossbach commented on 2023-04-29 10:02 (UTC) (edited on 2023-04-29 10:02 (UTC) by jhossbach)

@eclairevoyant Can you add lua51-lpeg as a normal dependency instead of a make dependency? Neovim needs it as a shared library in runtime.

chris34241 commented on 2023-04-27 14:46 (UTC)

I'm getting this error when building:

/usr/bin/ld: cannot find -llpeg: No such file or directory

I think it might be related to this commit but I do not know how to fix it. Any ideas?

syyyr commented on 2023-04-20 14:16 (UTC)

upstream issue for the mpack build failure: https://github.com/neovim/neovim/issues/23213

eclairevoyant commented on 2023-04-20 10:20 (UTC)

yeah, normally the way to avoid your current system's packages affecting the build environment is by building in a clean chroot

moreka commented on 2023-04-20 09:00 (UTC) (edited on 2023-04-20 09:05 (UTC) by moreka)

UPDATE: It works now. Had to manually remove lua51-mpack and then reinstall neovim-git. Thanks again.

Thanks for the amazing speed @eclairevoyant. Unfortunately I still get the same error.