Cleanup bootstrap
This commit is contained in:
+5
-3
@@ -41,13 +41,15 @@ if not vim.loop.fs_stat(lazypath) then
|
|||||||
utils.assert_available("git")
|
utils.assert_available("git")
|
||||||
utils.assert_available("tar")
|
utils.assert_available("tar")
|
||||||
|
|
||||||
vim.fn.system({
|
local resp = vim.system({
|
||||||
"git",
|
"git",
|
||||||
"clone",
|
"clone",
|
||||||
"--filter=blob:none",
|
"--filter=blob:none",
|
||||||
"https://github.com/folke/lazy.nvim.git",
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
"--branch=stable", -- latest stable release
|
"--branch=stable",
|
||||||
lazypath,
|
lazypath,
|
||||||
})
|
}):wait()
|
||||||
|
|
||||||
|
assert(resp.code == 0, "Failed to download lazy")
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|||||||
Reference in New Issue
Block a user