refactor: move handlers to its own file

This commit is contained in:
Folke Lemaitre 2022-11-26 21:29:40 +01:00
parent 870d8924f7
commit 05a0da532b
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 169 additions and 180 deletions

View file

@ -207,8 +207,6 @@ function M.load()
if M.dirty then
Cache.dirty = true
elseif state then
require("lazy.core.loader").loaders = state.loaders
end
end
@ -217,7 +215,6 @@ function M.save()
local state = {
---@type table<string, LazySpec>
specs = {},
loaders = require("lazy.core.loader").get_loaders(),
config = Config.options,
}