mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
fix(reload): set lvim modules to nil correctly (#1898)
This commit is contained in:
parent
7a813780a1
commit
e05ced8ec3
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ function M:reload()
|
|||
local lvim_modules = {}
|
||||
for module, _ in pairs(package.loaded) do
|
||||
if module:match "lvim.core" then
|
||||
package.loaded.module = nil
|
||||
package.loaded[module] = nil
|
||||
table.insert(lvim_modules, module)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue