remove lazied field from package as it was unused
This commit is contained in:
@ -9,7 +9,6 @@ local bench = require("dep.bench")
|
|||||||
---@field lazy boolean if the package is lazy loaded in any way
|
---@field lazy boolean if the package is lazy loaded in any way
|
||||||
---@field added boolean if the package has been added in vim
|
---@field added boolean if the package has been added in vim
|
||||||
---@field configured boolean if the package has been configured
|
---@field configured boolean if the package has been configured
|
||||||
---@field lazied boolean if the packages lazy loading has been set
|
|
||||||
---@field loaded boolean if a package has been loaded
|
---@field loaded boolean if a package has been loaded
|
||||||
---@field subtree_loaded boolean is the subtree has been loaded
|
---@field subtree_loaded boolean is the subtree has been loaded
|
||||||
---@field on_config function[] table of functions to run on config
|
---@field on_config function[] table of functions to run on config
|
||||||
@ -89,7 +88,6 @@ function package:new(spec, overrides)
|
|||||||
o.exists = false
|
o.exists = false
|
||||||
o.lazy = false
|
o.lazy = false
|
||||||
o.added = false
|
o.added = false
|
||||||
o.lazied = false
|
|
||||||
o.configured = false
|
o.configured = false
|
||||||
o.loaded = false
|
o.loaded = false
|
||||||
o.subtree_loaded = false
|
o.subtree_loaded = false
|
||||||
@ -296,7 +294,6 @@ function package:ensureadded(force)
|
|||||||
elseif not self.added and self.lazy then
|
elseif not self.added and self.lazy then
|
||||||
logger:log("lazy", "registering %d lazy hooks for %s", #self.lazy_load,
|
logger:log("lazy", "registering %d lazy hooks for %s", #self.lazy_load,
|
||||||
self.id)
|
self.id)
|
||||||
self.lazied = true
|
|
||||||
for _, load_cond in pairs(self.lazy_load) do
|
for _, load_cond in pairs(self.lazy_load) do
|
||||||
-- configure the lazy loader for the user
|
-- configure the lazy loader for the user
|
||||||
local l = require('dep.lazy.loader'):new()
|
local l = require('dep.lazy.loader'):new()
|
||||||
|
Reference in New Issue
Block a user