2024-08-21 13:01:54 +02:00
|
|
|
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",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
"--branch=stable", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
2024-08-21 13:10:27 +02:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
2024-08-25 00:44:56 +02:00
|
|
|
require("znvim.options")
|
2024-08-21 13:10:27 +02:00
|
|
|
require("lazy").setup("znvim.plugins")
|