mirror of https://github.com/folke/lazy.nvim.git
docs: use pkg branch for docs
This commit is contained in:
parent
b087c94ed9
commit
5cffb9f36a
10
lua/init.lua
10
lua/init.lua
|
@ -14,7 +14,15 @@ else
|
||||||
local lazypath = root .. "/plugins/lazy.nvim"
|
local lazypath = root .. "/plugins/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
print("Bootstrapping lazy.nvim")
|
print("Bootstrapping lazy.nvim")
|
||||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
|
vim.fn.system({
|
||||||
|
"git",
|
||||||
|
"clone",
|
||||||
|
"--filter=blob:none",
|
||||||
|
-- FIXME: remove this when the new version is released
|
||||||
|
"--branch=pkg",
|
||||||
|
"https://github.com/folke/lazy.nvim.git",
|
||||||
|
lazypath,
|
||||||
|
})
|
||||||
end
|
end
|
||||||
vim.opt.runtimepath:prepend(lazypath)
|
vim.opt.runtimepath:prepend(lazypath)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue