Skip to content

Commit

Permalink
fix: deepcopy lazyspec before processing
Browse files Browse the repository at this point in the history
  • Loading branch information
folke committed Dec 20, 2022
1 parent ec0f8d0 commit 6e32759
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/lazy/core/plugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function M.spec()
Util.lsmod(path_plugins, _load)
else
-- spec is a spec
spec:normalize(Config.spec)
spec:normalize(vim.deepcopy(Config.spec))
end
return spec
end
Expand Down

0 comments on commit 6e32759

Please sign in to comment.