Package Details: astronvim v3.36.4-1

Git Clone URL: (read-only, click to copy)
Package Base: astronvim
Description: AstroNvim is an aesthetic and feature-rich neovim config that is extensible and easy to use with a great set of plugins
Upstream URL:
Keywords: astronvim editor ide neovim vim
Licenses: GPL3
Conflicts: astronvim
Provides: astronvim
Submitter: mehalter
Maintainer: mehalter
Last Packager: mehalter
Votes: 1
Popularity: 0.40
First Submitted: 2022-06-22 11:43 (UTC)
Last Updated: 2023-08-22 23:08 (UTC)

Latest Comments

gnosthi commented on 2023-04-06 13:56 (UTC)

I'm also getting the same error as @elbowz is getting.

from loader.lua

 function M.source(path)
  Util.track({ runtime = path })
>    vim.cmd("source " .. path)
  end, "Failed to source `" .. path .. "`")

from lazy.lua

> require("lazy").setup(astronvim.user_opts("lazy", {
  spec = spec,
  defaults = { lazy = true },
  install = { colorscheme = colorscheme },
  performance = {
    rtp = {
      paths = astronvim.supported_configs,
      disabled_plugins = { "tohtml", "gzip", "matchit", "zipPlugin", "netrwPlugin", "tarPlugin" },
  lockfile = vim.fn.stdpath "data" .. "/lazy-lock.json",

And lastly from init.lua

for _, source in ipairs {
} do
  local status_ok, fault = pcall(require, source)
>  if not status_ok then vim.api.nvim_err_writeln("Failed to load " .. source .. "\n\n" .. fault) end

Commenting out "astronvim.lazy" from source list in init.lua to prevent error message for now until whatever the issue is gets fixed.

elbowz commented on 2023-03-20 11:05 (UTC)

Error at startup on my environment:

Failed to source `/usr/share/nvim/runtime/plugin/astronvim.vim`

...local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:438: Vim(luafile):Failed to load astronvim.lazy

# stacktrace:
  - /usr/share/astronvim/lua/astronvim/lazy.lua:30
  - /usr/share/astronvim/init.lua:8

mehalter commented on 2022-07-30 23:54 (UTC)

@Taquito the configuration file is not necessary for the base installation and the user is free to make one if they want to. I think adding one during the installation is not necessary since cloning AstroNvim from GitHub manually and installing also doesn't come with a config file installed either. Just the provided example which is not used on a fresh installation without manual user intervention.

Taquito commented on 2022-07-18 04:34 (UTC) (edited on 2022-07-18 04:36 (UTC) by Taquito)

Config file is needed for astro nvim to be installed in cp -r ~/.config/nvim/lua/user.

Based on documentation (), the example file can be used. The next commands are required to get the example file in your config after installing this pkg.

$ mkdir -p ~/nvim/lua/user

$ cp -r /usr/share/astronvim/lua/user_example .config/nvim/lua/user