Package Details: neovim-git 0.11.0.r711.g7b7c95dac9-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 (gpanders)
Last Packager: gpanders
Votes: 258
Popularity: 0.90
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2024-09-04 00:24 (UTC)

Required by (446)

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 .. 40 Next › Last »

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.

gpanders commented on 2024-08-31 20:33 (UTC) (edited on 2024-08-31 20:42 (UTC) by gpanders)

Fixing this will require either packaging libutf8proc-git in the AUR or waiting for upstream to switch back to a release.

EDIT: For now I'm building with bundled utf8proc. This is temporary until upstream pins back to a stable release (which is packaged in Arch).

KdU7aq commented on 2024-08-31 18:55 (UTC)

Fails to build since this commit from today:

[0/2] Re-checking globbed directories...
[4/658] cd /home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/build/src/nvim...ome/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/cmake/GenerateVersion.cmake
-- Using NVIM_VERSION: v0.11.0-dev-686+ge1937286f0
[526/658] Building C object src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o
FAILED: src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o
/usr/sbin/cc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -DUTF8PROC_STATIC -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/build/src/nvim/auto -I/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/build/include -I/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/build/cmake.config -I/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src -isystem /usr/include/luajit-2.1 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -DNDEBUG -flto=auto -fno-fat-lto-objects -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 -Wno-conversion -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -MD -MT src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o -MF src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o.d -o src/nvim/CMakeFiles/nvim_bin.dir/mbyte.c.o -c /home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c: In function ‘utf_char2cells’:
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c:482:29: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
  482 |   if (*p_ambw == 'd' && prop->ambiguous_width) {
      |                             ^~
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c:488:39: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} has no member named ‘ambiguous_width’
  488 |   if (p_emoji && c >= 0x1f000 && !prop->ambiguous_width && prop_is_emojilike(prop)) {
      |                                       ^~
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c: In function ‘utf_ambiguous_width’:
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c:1348:14: error: ‘utf8proc_property_t’ {aka ‘const struct utf8proc_property_struct’} hasno member named ‘ambiguous_width’
 1348 |   return prop->ambiguous_width || prop_is_emojilike(prop);
      |              ^~
/home/kdu7aq/.cache/paru/clone/neovim-git/src/neovim/src/nvim/mbyte.c:1349:1: warning: control reaches end of non-void function [-Wreturn-type]
 1349 | }
      | ^
[539/658] Building C object src/nvim/CMakeFiles/nvim_bin.dir/move.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'neovim-git-0.11.0.r164.g3a1515bfee-1':

gpanders commented on 2024-06-30 16:59 (UTC)

@CosmicBagel The PKGBUILD was updated earlier today to include libutf8proc https://aur.archlinux.org/cgit/aur.git/commit/?h=neovim-git&id=f8fd47a5c8eddb92372d427c1c2f4273f52b585f

CosmicBagel commented on 2024-06-30 16:05 (UTC)

Looks like libutf8proc needs to be added as a dependency https://archlinux.org/packages/extra/x86_64/libutf8proc/

The commit where its added as a needed dependency in neovim https://github.com/neovim/neovim/commit/32e16cb0b6b046ba45d3e14c0fdb0383ad8bee1e

Ranguna commented on 2024-05-25 22:15 (UTC)

The build is failing for me with the following errors:

FAILED: src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o 
/usr/bin/cc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/home/***/.cache/yay/neovim-git/src/neovim/build/src/nvim/auto -I/home/***/.cache/yay/neovim-git/src/neovim/build/include -I/home/***/.cache/yay/neovim-git/src/neovim/build/cmake.config -I/home/***/.cache/yay/neovim-git/src/neovim/src -isystem /usr/include/luajit-2.1 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -flto=auto -O2 -g -Og -g -flto=auto -fno-fat-lto-objects -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 -Wno-conversion -fno-common -Wno-unused-result -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/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c
/home/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c: In function ‘__has_ancestor’:
/home/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c:1084:12: error: implicit declaration of function ‘ts_node_child_containing_descendant’; did you mean ‘node_child_containing_descendant’? [-Wimplicit-function-declaration]
 1084 |     node = ts_node_child_containing_descendant(node, descendant);
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |            node_child_containing_descendant
/home/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c:1084:12: error: incompatible types when assigning to type ‘TSNode’ from type ‘int’
/home/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c: In function ‘node_child_containing_descendant’:
/home/***/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c:1095:18: error: invalid initializer
 1095 |   TSNode child = ts_node_child_containing_descendant(node, descendant);
      |                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar bug report here: https://bugs.gentoo.org/932001

kotv commented on 2024-05-08 10:10 (UTC)

@Farzat please read make the suggested changes to the PKGBUILD as described below over all add -G Ninja to the cmake invocation in build() to fix build issue

gpanders commented on 2024-04-06 14:12 (UTC)

@vandalt I found the same thing, and I've sent a patch to @Farzat already. Hopefully they apply it to the PKGBUILD. In the meantime, you can add the following to the depends list:

tree-sitter-bash
tree-sitter-c
tree-sitter-lua
tree-sitter-markdown
tree-sitter-python
tree-sitter-query
tree-sitter-vimdoc

And in the package() function, add the following:

ln -s /usr/lib/tree_sitter "${pkgdir}"/usr/lib/nvim/parser