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

34 lines
747 B
Lua
Raw Normal View History

2022-12-27 18:36:38 +01:00
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
2023-02-14 13:21:14 +01:00
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
2022-12-27 18:36:38 +01:00
end
vim.opt.runtimepath:prepend(lazypath)
2023-02-14 14:08:01 +01:00
-- require("lazy").setup("plugins")
2023-02-14 13:21:14 +01:00
require("lazy").setup({
2023-02-14 14:08:01 +01:00
import = "plugins",
2023-02-14 13:21:14 +01:00
defaults = { lazy = true },
checker = { enabled = true },
performance = {
cache = {
enabled = true,
},
rtp = {
disabled_plugins = {
"gzip",
"matchit",
"matchparen",
"netrwPlugin",
"rplugin",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
debug = false,
})