local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"--single-branch",
"https://github.com/folke/lazy.nvim.git",
lazypath,
})
end
vim.opt.runtimepath:prepend(lazypath)
[x] Migrate plugins to use lazy.nvim
Shouldn't be too hard.
[x] Setup automatic syncing of plugins
We probably want to use nvim --headless -c "Lazy! sync" -c "qa!".
Much more efficient package manager for Neovim.
Checklist
lazy.nvim
:lazy.nvim
nvim --headless -c "Lazy! sync" -c "qa!"
.