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

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
/lazy-lock.json

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)

View File

@@ -0,0 +1,13 @@
return {
"catppuccin/nvim",
tag = "v1.11.0",
name = "catppuccin",
config = function()
require("catppuccin").setup({
flavour = "mocha",
transparant_background = true,
show_end_of_buffer = true
})
vim.cmd("colorscheme catppuccin")
end
}