33 lines
747 B
Lua
33 lines
747 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("plugins")
|
|
|
|
require("lazy").setup({
|
|
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,
|
|
})
|