Closed
Description
Checklist
- I have searched through the AstroNvim docs
- I have searched through the existing issues of AstroNvim
- I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.9.5 MinSizeRel
Operating system/version
docker image
Terminal/GUI
kitty
Describe the bug
Running the docker command from the website https://docs.astronvim.com/ fails with screenshot below. Neovim starts but still there is that error on mson
whcih does not allow me to run :LspInstall pyright
etc.
Steps to Reproduce
docker run -w /root -it --rm alpine:edge sh -uelic '
apk add bash git lua nodejs npm lazygit bottom python3 go neovim ripgrep alpine-sdk --update
# Replace with your own configuration repository to load a user configuration
git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
nvim
Expected behavior
No errors
Screenshots
Additional Context
No response
Repro
-- save as repro.lua
-- run with nvim -u repro.lua
-- DO NOT change the paths
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "runtime", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
-- install plugins
local plugins = {
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
-- add any other plugins/customizations here
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
-- add anything else here (autocommands, vim.filetype, etc.)