This commit is contained in:
Vlad 2025-11-04 19:43:54 -08:00 committed by GitHub
commit d1e51e62cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -238,7 +238,7 @@ function M.deactivate(plugin)
-- clear vim.g.loaded_ for plugins -- clear vim.g.loaded_ for plugins
Util.ls(plugin.dir .. "/plugin", function(_, name, type) Util.ls(plugin.dir .. "/plugin", function(_, name, type)
if type == "file" then if type == "file" then
vim.g["loaded_" .. name:gsub("%..*", "")] = nil vim.g["loaded_" .. name:gsub("%..*", ""):gsub("-", "_")] = nil
end end
end) end)
-- set as not loaded -- set as not loaded