Package Details: nvchad-git r28.d0c602f-3

Git Clone URL: https://aur.archlinux.org/nvchad-git.git (read-only, click to copy)
Package Base: nvchad-git
Description: NvChad is a neovim config written in lua aiming to provide a base configuration with very beautiful UI and blazing fast startuptime.
Upstream URL: https://github.com/NvChad/NvChad
Licenses: GPL3
Conflicts: nvchad
Provides: nvchad
Submitter: hockeymikey
Maintainer: hockeymikey
Last Packager: hockeymikey
Votes: 6
Popularity: 0.001146
First Submitted: 2022-10-11 16:21 (UTC)
Last Updated: 2024-11-14 05:45 (UTC)

Latest Comments

1 2 Next › Last »

hockeymikey commented on 2024-11-14 05:48 (UTC)

@D3vil0p3r Good call on the depends. Post install isn't really feasible because it's chrooted to the install dir, making it useless. I found another way using a plugin in the nvim root.

D3vil0p3r commented on 2024-11-08 21:19 (UTC) (edited on 2024-11-08 22:19 (UTC) by D3vil0p3r)

overwrite cannot be used in some cases, e.g., a user wants to use it on the creation of a Linux ISO by, e.g., archiso.

I'm giving a look on /usr/share/nvim/archlinux.lua of neovim package:

-- Modify runtimepath to also search the system-wide Vim directory
-- (eg. for Vim runtime files from Arch Linux packages)
vim.opt.runtimepath:append({ '/usr/share/vim/vimfiles', '/usr/share/vim/vimfiles/after' })

nvchad-git package /usr/share/nvim/archlinux.lua file comes from nvchad.vim.template source file:

vim.api.nvim_command('set runtimepath+=/usr/share/nvchad')
vim.api.nvim_command('luafile /usr/share/nvchad/init.lua')

I think that the right solution should be moving the writing of archlinux.lua to a post install script. There is no need to create it because already provided by neovim package.

Furthermore, according to the official docs https://nvchad.com/docs/quickstart/install , you need to add some runtime dependencies as Nerd Fonts (e.g., JetBrains NF) and ripgrep.

hockeymikey commented on 2024-11-08 19:08 (UTC)

@D3vil0p3r I haven't see this issue. Just --overwrite="*" probably?

D3vil0p3r commented on 2024-11-07 22:07 (UTC)

Fresh install of nvchad-git is in conflict with its dependency neovim:

error: failed to commit transaction (conflicting files)
/usr/share/nvim/archlinux.lua exists in both 'neovim' and 'nvchad-git'

Please fix it.

hockeymikey commented on 2024-10-28 17:37 (UTC)

I got some more errors about base46. I just uninstalled as shown here: https://nvchad.com/docs/quickstart/install/ and started fresh.

hockeymikey commented on 2024-07-30 21:07 (UTC)

You'll wanna wipe your ~/.local/share/nvim/lazy folder if you get any errors about core.utils.

AlbertoAru commented on 2024-02-09 18:35 (UTC)

I did what SargentD said and worked fine, but I wanted to understand the difference between having the original file with:

set runtimepath+=/usr/share/vim/vimfiles

and the current one with:

set runtimepath+=/usr/share/nvchad
luafile /usr/share/nvchad/init.lua

Should I add the former command line to the new one too?

SargentD commented on 2024-02-01 21:30 (UTC) (edited on 2024-02-01 21:31 (UTC) by SargentD)

A temporary workaround I came up with for the nvchad-git: /usr/share/nvim/archlinux.vim exists in filesystem (owned by neovim) error:

  • Install neovim normally.
  • Delete or rename /usr/share/nvim/archlinux.vim
  • Install this package.

Bureaucrat commented on 2024-01-20 22:54 (UTC)

Same error as xiota:

error: failed to commit transaction (conflicting files)
nvchad-git: /usr/share/nvim/archlinux.vim exists in filesystem (owned by neovim)
Errors occurred, no packages were upgraded.
 -> error installing: [/home/.../.cache/yay/nvchad-git/nvchad-git-r1602.282a23f-1-any.pkg.tar.zst] - exit status 1