mirror of https://github.com/folke/lazy.nvim.git
fix(plugin): calculate handlers after disabling plugins
This commit is contained in:
parent
4dfb5aceb7
commit
01d16b67c2
|
@ -39,6 +39,7 @@ end
|
||||||
|
|
||||||
function Spec:parse(spec)
|
function Spec:parse(spec)
|
||||||
self:normalize(spec)
|
self:normalize(spec)
|
||||||
|
self:fix_disabled()
|
||||||
|
|
||||||
-- calculate handlers
|
-- calculate handlers
|
||||||
for _, plugin in pairs(self.plugins) do
|
for _, plugin in pairs(self.plugins) do
|
||||||
|
@ -48,8 +49,6 @@ function Spec:parse(spec)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
self:fix_disabled()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
-- PERF: optimized code to get package name without using lua patterns
|
-- PERF: optimized code to get package name without using lua patterns
|
||||||
|
|
Loading…
Reference in New Issue