Install lazy

This commit is contained in:
ekzyis 2024-04-22 13:16:37 +02:00
parent 6ecde9bda1
commit 290ce20232
2 changed files with 13 additions and 0 deletions

View File

@ -1,2 +1,3 @@
require("core.mappings")
require("core.settings")
require("core.lazy")

12
lua/core/lazy.lua Normal file
View File

@ -0,0 +1,12 @@
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or 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)