aboutsummaryrefslogtreecommitdiff
path: root/plugins/settings.lua
diff options
context:
space:
mode:
authorjgmdev <jgmdev@gmail.com>2023-01-06 18:20:19 -0400
committerjgmdev <jgmdev@gmail.com>2023-01-06 18:20:27 -0400
commit351cd2d98f87898e84bb8a7fef0f970c4d94d38d (patch)
treed7f28c07827cdd18849ae257ca37a2c3cd903170 /plugins/settings.lua
parentbd3b6696559faaf995be875cbb588ab86e9c43e4 (diff)
downloadlite-xl-plugins-351cd2d98f87898e84bb8a7fef0f970c4d94d38d.tar.gz
lite-xl-plugins-351cd2d98f87898e84bb8a7fef0f970c4d94d38d.zip
settings: corrected widgets pcall require
Diffstat (limited to 'plugins/settings.lua')
-rw-r--r--plugins/settings.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/settings.lua b/plugins/settings.lua
index cad9641..4b4ff04 100644
--- a/plugins/settings.lua
+++ b/plugins/settings.lua
@@ -9,7 +9,7 @@ local View = require "core.view"
local DocView = require "core.docview"
-- check if widget is installed before proceeding
-local widget_found, Widget = pcall(require, "widget")
+local widget_found, Widget = pcall(require, "libraries.widget")
if not widget_found then
core.error("Widget library not found: https://github.com/lite-xl/lite-xl-widgets")
return