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.000249
First Submitted: 2022-10-11 16:21 (UTC)
Last Updated: 2024-11-14 05:45 (UTC)

Latest Comments

1 2 Next › Last »

cortisolblue commented on 2025-01-30 16:16 (UTC)

Installed this a while back without issues but recent install on a new machine results in this error during initialization :

Re-sourcing your config is not supported with lazy.nvim

Failed to source /usr/share/nvim/runtime/filetype.lua

vim/_editor.lua:0: Vim:No specs found for module "plugins"

stacktrace:
  • vim/editor.lua:0 _in cmd
  • /usr/share/nvchad/init.lua:17
  • /usr/share/nvim/runtime/plugin/nvchad-starter/init.lua:2

Also noticing theres nothing other than "lazy-lock.json" in the ~/.config/nvim directory but that could just be my ignorance as I'm relatively noob, could've sworn that folder had more files to work with. Tried multiple reinstalls of both neovim and nvchad as well, same issue.

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.