added lazy as its own plugin so it can manage it self

This commit is contained in:
Nicolai Van der Storm 2023-10-15 20:11:28 +02:00
parent 91801ea6ad
commit ce57a9fe5a
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
2 changed files with 22 additions and 9 deletions

View File

@ -1,12 +1,23 @@
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",
lazypath
})
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
print([[
Installing lazy.vim and plugins....
]])
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
--- Lazy ---
"folke/lazy.nvim" --- Lazy will manage itself
}
local opts = {}
require("lazy").setup(plugins, opts)

View File

@ -0,0 +1,2 @@
: 1697393465:0;git status
: 1697393469:0;git add .