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.91
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2024-03-11 05:36 (UTC)

Dependencies (17)

Required by (430)

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

xiota commented on 2024-02-27 12:40 (UTC) (edited on 2024-02-29 06:38 (UTC) by xiota)

Perhaps the dep on tree-sitter-git can be changed to versioned deps?

tree-sitter>=0.21.0

xiota commented on 2024-02-27 03:28 (UTC) (edited on 2024-02-29 06:40 (UTC) by xiota)

source=("git+https://github.com/tree-sitter/tree-sitter.git#commit=52d69790f36b96ecc1541f6106782ab12786f7cb")

just1602 commented on 2024-02-26 17:39 (UTC)

The package failed to build with this error:

/usr/bin/ld: /tmp/ccvRm0bn.ltrans28.ltrans.o: in function `tslua_init':
/home/goldman/.cache/paru/clone/neovim-git/src/neovim/src/nvim/lua/treesitter.c:171:(.text+0x36aa): undefined reference to `ts_set_allocator'
collect2: error: ld returned 1 exit status
make[2]: *** [src/nvim/CMakeFiles/nvim_bin.dir/build.make:5150: bin/nvim] Error 1
make[2]: Leaving directory '/home/goldman/.cache/paru/clone/neovim-git/src/neovim/build'
make[1]: *** [CMakeFiles/Makefile2:624: src/nvim/CMakeFiles/nvim_bin.dir/all] Error 2
make[1]: Leaving directory '/home/goldman/.cache/paru/clone/neovim-git/src/neovim/build'
make: *** [Makefile:156: all] Error 2

jorges commented on 2024-02-12 17:15 (UTC)

Hi, do you know why this package doesn't use neovim's default colorscheme when used without configuration? Also, typing :help (also without an init.lua) I get errors regarding tree-sitter. I know it is uncommon to run neovim without an init.lua, but first time users can. It happened to me as I was troubleshooting issues with my config. The package from extra is not affected by this problem.

Farzat commented on 2024-02-01 06:18 (UTC)

I also fixed the package versioning. Instead of using git tags, pkgver() now gets that info from CMakeLists.txt.

Farzat commented on 2024-01-31 03:50 (UTC)

I switched to tree-sitter-git for now. That should fix the build problems.

carbonchauvinist commented on 2024-01-27 19:43 (UTC) (edited on 2024-01-29 05:14 (UTC) by carbonchauvinist)

@grappas I was running into the same issue, I was able to avoid it for the time being by editing the PKGBUILD to build and make the bundled tree-sitter dependency.

I assume this means that the standard tree-sitter version in our main repos is somehow the culprit? Not sure, maybe others with more insight can chime in.

--edit So yes, appears to be the issue with the standard tree-sitter package which is from Feb '23

Meanwhile the ts_query_cursor_set_max_start_depth api was not added until Apr '23

tldr; will need to either install tree-sitter-git from the aur, or edit the neovim-git PKGBUILD to build and use the bundled tree-sitter dependency -- at least until the tree-sitter package from the main repos is updated

here's an example of modifying build() to use the bundled

build() {
  cmake -S"$_pkgname/cmake.deps" -B"$_pkgname/.deps" \
    -GNinja \
    -DCMAKE_BUILD_TYPE=RelWithDebInfo \
    -DUSE_BUNDLED=OFF \
    -DUSE_BUNDLED_TS=ON
  cmake --build "$_pkgname/.deps"

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

grappas commented on 2024-01-26 23:10 (UTC)

/usr/bin/ld: /tmp/ccQVL6AK.ltrans27.ltrans.o: in function `node_rawquery':
/home/grappas/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c:1452:(.text+0x8736): undefined reference to `ts_query_cursor_set_max_start_depth'
/usr/bin/ld: /home/grappas/.cache/yay/neovim-git/src/neovim/src/nvim/lua/treesitter.c:1476:(.text+0x8953): undefined reference to `ts_query_cursor_set_max_start_depth'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

phush0 commented on 2024-01-21 12:01 (UTC)

As later it will not build at all

-- Install configuration: "RelWithDebInfo"
-- Set non-toolchain portion of runtime path of "/home/phusho/.cache/aurutils/sync/neovim-git/pkg/neovim-git/usr/bin/nvim" to ""
CMake Error at build/src/nvim/cmake_install.cmake:102 (file):
  file INSTALL cannot find
  "/home/phusho/.cache/aurutils/sync/neovim-git/src/build/lib/nvim": No such
  file or directory.
Call Stack (most recent call first):
  build/cmake_install.cmake:87 (include)


==> ERROR: A failure occurred in package().
    Aborting...