docs: use pkg branch for docs

This commit is contained in:
Folke Lemaitre 2024-06-23 10:11:42 +02:00
parent b087c94ed9
commit 5cffb9f36a
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 9 additions and 1 deletions

View File

@ -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