perf(nvim): Apply lazy load for all plugins

This commit is contained in:
js0ny 2025-03-26 14:28:52 +00:00
parent 1716712787
commit 48331347fd
23 changed files with 274 additions and 203 deletions

View file

@ -1,17 +1,18 @@
return {
{
"rmagatti/auto-session",
lazy = false,
event = "BufReadPre",
opts = {
suppressed_dirs = { "~/", "~/Projects", "~/Downloads", "/" },
},
},
{ import = "plugins.mod.nvim-tree" },
-- { import = "plugins.mod.nvim-tree" },
{ import = "plugins.mod.telescope" },
-- { import = "plugins.mod.fzf" },
{
"ahmedkhalf/project.nvim",
event = "VeryLazy",
opts = {
detection_methods = { "lsp", "pattern" },
patterns = { ".git", "Makefile", "package.json" },
@ -46,5 +47,14 @@ return {
-- },
{
"NeogitOrg/neogit",
-- dependencies = {
-- "nvim-lua/plenary.nvim", -- required
-- "nvim-telescope/telescope.nvim", -- optional
-- },
config = true,
-- event = "VeryLazy",
cmd = {
"Neogit",
},
},
}