mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-19 04:46:45 +00:00
fix(plugin): calculate handlers after disabling plugins
This commit is contained in:
parent
4dfb5aceb7
commit
01d16b67c2
1 changed files with 1 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue