nvim/lua/config/lazy.lua

40 lines
757 B
Lua
Raw Normal View History

2023-12-04 09:24:43 +01: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", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
2023-01-13 16:24:39 +01:00
require('lazy').setup('plugins', {
defaults = { lazy = true },
2022-12-31 17:43:31 +01:00
change_detection = {
2023-01-13 16:24:39 +01:00
enabled = false,
},
performance = {
2023-06-25 17:10:09 +02:00
reset_packpath = true,
2023-01-13 16:24:39 +01:00
rtp = {
2023-12-04 09:24:43 +01:00
-- reset = true,
2023-06-25 17:10:09 +02:00
-- paths = { '~/.local/share/nvim/site/' },
2023-01-13 16:24:39 +01:00
disabled_plugins = {
2023-04-08 23:47:10 +02:00
'fzf',
2023-01-13 16:24:39 +01:00
'gzip',
2023-12-04 09:24:43 +01:00
-- 'matchit',
-- 'matchparen',
2023-01-29 13:47:56 +01:00
'netrwPlugin',
'netrw',
2023-01-13 16:24:39 +01:00
'tarPlugin',
'tohtml',
'tutor',
'zipPlugin',
},
},
2022-12-31 17:43:31 +01:00
},
2023-01-13 16:24:39 +01:00
debug = false,
2022-12-31 17:43:31 +01:00
})