fix broken theme switcher (#1009)

thanks to @max397574
This commit is contained in:
siduck 2022-05-04 20:32:37 +05:30
parent 86a4046319
commit bc2257a4c0

View file

@ -31,7 +31,10 @@ M.merge_tb = function(table1, table2)
end
M.load_theme = function()
package.loaded["chadlights" or false] = nil
-- reload highlights for theme switcher
require("plenary.reload").reload_module "integrations"
require("plenary.reload").reload_module "chadlights"
require "chadlights"
end