dotfiles/.config/nvim/lua/config/lazy.lua

33 lines
729 B
Lua

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", lazypath })
vim.fn.system({ "git", "-C", lazypath, "checkout", "tags/stable" }) -- last stable release
end
vim.opt.runtimepath:prepend(lazypath)
require("lazy").setup({
spec = {
{ import = "plugins" },
},
defaults = { lazy = true },
checker = { enabled = true },
performance = {
cache = {
enabled = true,
},
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"rplugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
debug = false,
})