🔎 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({
|
||||
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,
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user