2023-11-23 21:27:17 +01:00
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2024-01-29 15:17:53 +01:00
|
|
|
vim.fn.system({
|
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable",
|
|
|
|
lazypath,
|
|
|
|
})
|
2023-11-23 21:27:17 +01:00
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
2024-01-29 13:47:28 +01:00
|
|
|
require("lazy").setup("plugins", require("plugins.lazy").opts)
|