fix(config): new config, it's been a while

This commit is contained in:
devaine 2025-10-26 19:41:13 -05:00
commit 1fe92c532b
Signed by: devaine
GPG key ID: 954B1DCAC6FF84EE
11 changed files with 385 additions and 0 deletions

28
lua/config/lazy.lua Normal file
View file

@ -0,0 +1,28 @@
-- Bootstrap lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not (vim.uv or vim.loop).fs_stat(lazypath) then
local lazyrepo = "https://github.com/folke/lazy.nvim.git"
local out = vim.fn.system({ "git", "clone", "--filter=blob:none", "--branch=stable", lazyrepo, lazypath })
if vim.v.shell_error ~= 0 then
vim.api.nvim_echo({
{ "Failed to clone lazy.nvim:\n", "ErrorMsg" },
{ out, "WarningMsg" },
{ "\nPress any key to exit..." },
}, true, {})
vim.fn.getchar()
os.exit(1)
end
end
vim.opt.rtp:prepend(lazypath)
-- Setup lazy.nvim
require("lazy").setup({
spec = {
-- plugin import
{ import = "plugins" },
},
-- Configure any other settings here. See the documentation for more details.
install = {},
-- automatically check for plugin updates
checker = { enabled = true },
})