2024-04-23 04:34:15 +02:00
|
|
|
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,
|
|
|
|
})
|
2024-05-21 10:58:35 +02:00
|
|
|
end ---@diagnostic disable-next-line: undefined-field
|
2024-04-23 04:34:15 +02:00
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
require("lazy").setup(
|
|
|
|
{
|
2024-05-08 07:52:42 +02:00
|
|
|
spec = "plugins",
|
2024-04-23 04:34:15 +02:00
|
|
|
defaults = {
|
|
|
|
lazy = true,
|
|
|
|
},
|
|
|
|
change_detection = {
|
|
|
|
notify = false,
|
|
|
|
},
|
|
|
|
ui = {
|
|
|
|
border = "rounded",
|
|
|
|
},
|
|
|
|
performance = {
|
|
|
|
cache = {
|
|
|
|
enabled = true,
|
|
|
|
},
|
|
|
|
reset_packpath = true,
|
|
|
|
rtp = {
|
|
|
|
disabled_plugins = {
|
|
|
|
"2html_plugin",
|
|
|
|
"tohtml",
|
|
|
|
"getscript",
|
|
|
|
"getscriptPlugin",
|
|
|
|
"gzip",
|
|
|
|
"logipat",
|
|
|
|
"netrw",
|
|
|
|
"netrwPlugin",
|
|
|
|
"netrwSettings",
|
|
|
|
"netrwFileHandlers",
|
|
|
|
"matchit",
|
|
|
|
"matchparen",
|
|
|
|
"tar",
|
|
|
|
"tarPlugin",
|
|
|
|
"rrhelper",
|
|
|
|
"spellfile_plugin",
|
|
|
|
"vimball",
|
|
|
|
"vimballPlugin",
|
|
|
|
"zip",
|
|
|
|
"zipPlugin",
|
|
|
|
"tutor",
|
|
|
|
"rplugin",
|
|
|
|
"syntax",
|
|
|
|
"synmenu",
|
|
|
|
"optwin",
|
|
|
|
"compiler",
|
|
|
|
"bugreport",
|
|
|
|
"ftplugin",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
)
|