setup lazy.nvim

This commit is contained in:
2025-09-11 15:07:01 +02:00
parent 35d0f8a448
commit 9c8ca2225d
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
-- config
vim.opt.guicursor = ""
vim.opt.relativenumber = false
vim.opt.shiftwidth = 4
local plugins = {
require("plugins.catppuccin")
}
-- lazy.vim
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=v11.17.1",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup(plugins)