Package Details: neovim-git 0.9.0.r432.g9f9cef1b56-1

Git Clone URL: (read-only, click to copy)
Package Base: neovim-git
Description: Fork of Vim aiming to improve user experience, plugins, and GUIs.
Upstream URL:
Keywords: editor
Licenses: custom:neovim
Conflicts: neovim
Provides: neovim, vim-plugin-runtime
Submitter: fhahn
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 252
Popularity: 1.29
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2023-04-30 22:13 (UTC)

Dependencies (19)

Required by (409)

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

1 2 3 4 5 6 .. 38 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:

The relevant CMake define to use on the dependencies CMake dir (from looking in ^.^) 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 \
        cmake --build "$_pkgname/.deps"

        cmake -S"$_pkgname" -Bbuild \
                -GNinja \
                -DCMAKE_BUILD_TYPE=RelWithDebInfo \
        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.

@REMorin read, 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:

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.