Replies: 1 comment
-
this is from the docs see if using this instead for bootstrapping produces any difference: -- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath) the other thing you can try doing is uninstalling and then reinstalling with the recommended bootstrap config above |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, there is a simple lazy.lua file without any plugin but lazy.nvim. When I check an update of the lazy.nvim plugin in Lazy or it is performed automatically by checker was enabled I've got a git error:
fatal: not a git repository (or any of the parent directories): .git
~/.local/share/nvim/lazy/lazy.nvim is a repo directory contenting .git. Please suggest how to get rid the error.
My setup: MacOS Monterey 12.7.6, neovim 0.10.2
Beta Was this translation helpful? Give feedback.
All reactions