adds: bootstrap for lazy

This commit is contained in:
2024-03-20 16:15:33 -04:00
parent 7660587a33
commit d258f14376

View File

@@ -1,6 +1,20 @@
-- Leader needs to be set before loading plugins
vim.g.mapleader = " "
vim.g.maplocalleader = " "
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
vim.opt.rtp:prepend(lazypath)
-- Auto commands
require('user.autocmd')