fix: deepcopy lazyspec before processing

This commit is contained in:
Folke Lemaitre 2022-12-20 14:01:59 +01:00
parent ec0f8d0947
commit 6e32759c5d
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 1 additions and 1 deletions

View File

@ -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