aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugin_manager
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-11-27 11:56:59 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-11-27 11:56:59 -0500
commit02978b2cd2f532bdf64509918bd063e8a737e1d3 (patch)
treee5c2cb40b62b33de49d19ea1d27272191c0ff973 /plugins/plugin_manager
parentb2b25e049b79ef862c46435d2c73b400c39eeda9 (diff)
downloadlite-xl-plugin-manager-02978b2cd2f532bdf64509918bd063e8a737e1d3.tar.gz
lite-xl-plugin-manager-02978b2cd2f532bdf64509918bd063e8a737e1d3.zip
Flagged the json library as special as well, as it's required for the plugin_manager to run.
Diffstat (limited to 'plugins/plugin_manager')
-rw-r--r--plugins/plugin_manager/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua
index 520dd51..5ff7911 100644
--- a/plugins/plugin_manager/init.lua
+++ b/plugins/plugin_manager/init.lua
@@ -153,7 +153,7 @@ function PluginManager:refresh(options)
for i, addon in ipairs(self.addons) do
if addon.status ~= "incompatible" then
table.insert(self.valid_addons, addon)
- if addon.id == "plugin_manager" and addon.status == "installed" then
+ if (addon.id == "plugin_manager" or addon.id == "json") and addon.status == "installed" then
addon.status = "special"
end
end