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

Dependencies (17)

Required by (433)

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 »

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?

wsduvall commented on 2024-03-06 22:27 (UTC)

Could we remove --verbose from the cmake command?

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