neovim-ide/dotfiles/.config/nvim/lua/plugins.lua

49 lines
1.4 KiB
Lua

-- ── plugins.lua — lazy.nvim bootstrap ────────────────────────────────────────
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",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
require("lazy").setup({
{ import = "plugins.ui" },
{ import = "plugins.lsp" },
{ import = "plugins.treesitter" },
{ import = "plugins.tools" },
}, {
-- Baked into the image — don't check for updates at runtime
checker = { enabled = false },
change_detection = { enabled = false, notify = false },
-- Performance
performance = {
rtp = {
disabled_plugins = {
"gzip", "matchit", "matchparen",
"netrwPlugin", "tarPlugin", "tohtml",
"tutor", "zipPlugin",
},
},
},
ui = {
border = "rounded",
-- Kanagawa Wave colors in lazy UI
icons = {
cmd = "",
config = " ",
event = " ",
ft = " ",
init = " ",
plugin = " ",
source = " ",
start = "",
task = "",
},
},
})