️ perf(lazy-load): delegate plugins to their cmd/keymaps

Increase performance: Allow plugins to only load with their commands and keymaps whenever possible
This commit is contained in:
2024-08-04 06:57:07 -04:00
parent 335fe93d8a
commit b622454835
9 changed files with 291 additions and 333 deletions
+9
View File
@@ -72,6 +72,15 @@ return {
"xiyaowong/transparent.nvim",
lazy = true,
config = true,
keys = {
{
"<leader>wt",
function()
require("transparent").toggle()
end,
desc = "Toggle Transparency",
},
},
},
{ -- Auto Dark Mode
"f-person/auto-dark-mode.nvim",