mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 16:53:00 +00:00
perf(nvim): Apply lazy load for all plugins
This commit is contained in:
parent
1716712787
commit
48331347fd
23 changed files with 274 additions and 203 deletions
|
|
@ -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",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue