mirror of https://github.com/folke/lazy.nvim.git
ci: use main for bootstrap
This commit is contained in:
parent
1225f1dc60
commit
851b12034d
|
@ -26,8 +26,13 @@ function M.setup()
|
||||||
},
|
},
|
||||||
}, true, {})
|
}, true, {})
|
||||||
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
|
||||||
local ok, out =
|
local ok, out = pcall(vim.fn.system, {
|
||||||
pcall(vim.fn.system, { "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
|
"git",
|
||||||
|
"clone",
|
||||||
|
"--filter=blob:none",
|
||||||
|
lazyrepo,
|
||||||
|
lazypath,
|
||||||
|
})
|
||||||
if not ok or vim.v.shell_error ~= 0 then
|
if not ok or vim.v.shell_error ~= 0 then
|
||||||
vim.api.nvim_echo({
|
vim.api.nvim_echo({
|
||||||
{ "Failed to clone lazy.nvim\n", "ErrorMsg" },
|
{ "Failed to clone lazy.nvim\n", "ErrorMsg" },
|
||||||
|
|
Loading…
Reference in New Issue