Package Details: neovim-git 0.11.0.r164.g3a1515bfee-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: 255
Popularity: 0.71
First Submitted: 2014-02-21 19:50 (UTC)
Last Updated: 2024-06-07 02:53 (UTC)

Required by (432)

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 »

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

vandalt commented on 2024-04-05 21:30 (UTC)

After installing neovim-git, I got the treesitter issue below. It does not happen when building manually from source. I suspect it's related to the bundled treesitter parsers and the fact that neovim now uses the bundled parsers by default (https://github.com/neovim/neovim/pull/26824). The error occurred for any lua file and anytime I opened help (vimdoc), but not for Python.

I'm not sure if the error is caused by my setup in particular, but I wanted to point it out in case it affected other people.

Error detected while processing BufReadPost Autocommands for "*":                                                    
Error executing lua callback: /usr/share/nvim/runtime/filetype.lua:35: Error executing lua: /usr/share/nvim/runtime/f
iletype.lua:36: BufReadPost Autocommands for "*"..FileType Autocommands for "*"..function <SNR>1_LoadFTPlugin[20]..sc
ript /usr/share/nvim/runtime/ftplugin/lua.lua: Vim(runtime):E5113: Error while calling lua chunk: /usr/share/nvim/run
time/lua/vim/treesitter/language.lua:104: no parser for 'lua' language, see :help treesitter-parsers                 
stack traceback:                                                                                                     
        [C]: in function 'error'                                                                                     
        /usr/share/nvim/runtime/lua/vim/treesitter/language.lua:104: in function 'add'                               
        /usr/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:111: in function 'new'                           
        /usr/share/nvim/runtime/lua/vim/treesitter.lua:41: in function '_create_parser'                              
        /usr/share/nvim/runtime/lua/vim/treesitter.lua:108: in function 'get_parser'                                 
        /usr/share/nvim/runtime/lua/vim/treesitter.lua:416: in function 'start'                                      
        /usr/share/nvim/runtime/ftplugin/lua.lua:2: in main chunk                                                    
        [C]: in function 'nvim_cmd'                                                                                  
        /usr/share/nvim/runtime/filetype.lua:36: in function </usr/share/nvim/runtime/filetype.lua:35>               
        [C]: in function 'nvim_buf_call'                                                                             
        /usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>               
stack traceback:                                                                                                     
        [C]: in function 'nvim_cmd'                                                                                  
        /usr/share/nvim/runtime/filetype.lua:36: in function </usr/share/nvim/runtime/filetype.lua:35>               
        [C]: in function 'nvim_buf_call'                                                                             
        /usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>               
stack traceback:                                                                                                     
        [C]: in function 'nvim_buf_call'                                                                             
        /usr/share/nvim/runtime/filetype.lua:35: in function </usr/share/nvim/runtime/filetype.lua:10>

gpanders commented on 2024-04-01 00:38 (UTC) (edited on 2024-04-01 00:54 (UTC) by gpanders)

  • libtermkey has been vendored as of https://github.com/neovim/neovim/commit/404043e74c523bff049558685bd88213cc71ed7a so no longer needs to be listed as a dependency.

  • tree-sitter 0.22.2 is now packaged in Arch as well, so per @xiota's earlier comment you should be able to switch back from using tree-sitter-git.

  • ninja is included in makedepends, but is not used. You need to add -G Ninja to the cmake invocation in build().

Farzat commented on 2024-03-11 05:38 (UTC)

Alright then, I removed the verbose flag.

wsduvall commented on 2024-03-10 14:18 (UTC)

@xiota, I agree, and in the rare case people need to look at problems with the CC/CXX/CFLAGS/CXXFLAGS, they can enable it. I don't think there's a need for all of us to have to see them every time we rebuild.

xiota commented on 2024-03-09 21:19 (UTC)

Increased verbosity:

  • Does not improve most error messages. The treesitter linker error was not affected by verbosity.
  • Makes finding relevant error messages more difficult.
  • Pushes relevant error messages out of terminal emulator output buffers, especially if the user has not increased them from defaults.
  • Increases log file sizes, potentially making them not fit within pastebin limits.

Increased verbosity does help with problems caused by changes to variables like CC, CXX, CFLAGS, CXXFLAGS, etc. However, this PKGBUILD does not alter any of those variables, so increased verbosity shouldn't be needed.

wsduvall commented on 2024-03-09 12:35 (UTC)

@Farzat do we really need to spew out the entire cc command to the terminal? E.g. cd /home/wsduvall/.cache/paru/clone/neovim-git/src/neovim/build/src/nvim && /usr/bin/cc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/home/wsduvall/.cache/paru/clone/neovim-git/src/neovim/build/src/nvim/auto -I/home/wsduvall/.cache/paru/clone/neovim-git/src/neovim/build/include -I/home/wsduvall/.cache/paru/clone/neovim-git/src/neovim/build/cmake.config -I/home/wsduvall/.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=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/wsduvall/.cache/paru/clone/neovim-git/src=/usr/src/debug/neovim-git -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=auto -Wno-conversion -Wno-missing-noreturn -Wno-missing-format-attribute -Wno-double-promotion -Wno-strict-prototypes -Wno-misleading-indentation -Wno-sign-compare -Wno-implicit-fallthrough -Wno-missing-prototypes -Wno-missing-field-initializers -MD -MT src/nvim/CMakeFiles/nvim_bin.dir/__/xdiff/xemit.c.o -MF CMakeFiles/nvim_bin.dir/__/xdiff/xemit.c.o.d -o CMakeFiles/nvim_bin.dir/__/xdiff/xemit.c.o -c /home/wsduvall/.cache/paru/clone/neovim-git/src/neovim/src/xdiff/xemit.c

Farzat commented on 2024-03-08 14:58 (UTC)

@jorges I have no idea why the colorscheme is different. I tried to match the building method to the official package as much as possible, just changing the source to git. Therefore differences are more likely to originate from the source code.

@xiota I know the issue is already fixed (thanks btw), but 0.21.0 is not available yet. If it becomes available I might change back to it.

@wsduvall is there a reason why you want to remove --verbose?