🔎 Add Lazy Profiling

- Adds additional debugging flags to better track plugin loading times
This commit is contained in:
2024-07-17 14:56:39 -04:00
parent fa863bc6a1
commit 4d9175837d
+8 -3
View File
@@ -19,9 +19,9 @@ vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "ui" },
{ import = "plugins" },
{ import = "themes" },
{ import = "ui" }, -- UI Plugins
{ import = "plugins" }, -- General Plugins
{ import = "themes" }, -- Theme Plugins
},
defaults = { lazy = false, version = false },
checker = { enabled = true },
@@ -37,4 +37,9 @@ require("lazy").setup({
},
},
},
profiling = {
-- Track the time spent loading plugins
loader = true,
require = true,
},
})