mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-24 17:58:55 +02:00
perf: removed partial spec caching. not worth the tiny performance boost
This commit is contained in:
parent
9be3d3d840
commit
4438faf9a9
8 changed files with 77 additions and 228 deletions
|
@ -6,18 +6,6 @@ local M = {}
|
|||
---@type LazyPlugin[]
|
||||
M.loading = {}
|
||||
|
||||
function M.setup()
|
||||
local Handler = require("lazy.core.handler")
|
||||
local groups = Handler.group(Config.plugins)
|
||||
for t, handler in pairs(Handler.handlers) do
|
||||
if groups[t] then
|
||||
Util.track(t)
|
||||
handler(groups[t])
|
||||
Util.track()
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function M.init_plugins()
|
||||
Util.track("plugin_init")
|
||||
for _, plugin in pairs(Config.plugins) do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue