aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/settings.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/settings.lua b/plugins/settings.lua
index 0387886..a02b9b3 100644
--- a/plugins/settings.lua
+++ b/plugins/settings.lua
@@ -1564,7 +1564,9 @@ function core.run()
-- apply user chosen color theme
if settings.config.theme and settings.config.theme ~= "default" then
- core.reload_module("colors." .. settings.config.theme)
+ core.try(function()
+ core.reload_module("colors." .. settings.config.theme)
+ end)
end
core_run()