🔎 Add Lazy Profiling
- Adds additional debugging flags to better track plugin loading times
This commit is contained in:
+8
-3
@@ -19,9 +19,9 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
|||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
spec = {
|
spec = {
|
||||||
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
|
||||||
{ import = "ui" },
|
{ import = "ui" }, -- UI Plugins
|
||||||
{ import = "plugins" },
|
{ import = "plugins" }, -- General Plugins
|
||||||
{ import = "themes" },
|
{ import = "themes" }, -- Theme Plugins
|
||||||
},
|
},
|
||||||
defaults = { lazy = false, version = false },
|
defaults = { lazy = false, version = false },
|
||||||
checker = { enabled = true },
|
checker = { enabled = true },
|
||||||
@@ -37,4 +37,9 @@ require("lazy").setup({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
profiling = {
|
||||||
|
-- Track the time spent loading plugins
|
||||||
|
loader = true,
|
||||||
|
require = true,
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user