aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugin_manager/init.lua
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-11-27 15:09:54 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-11-27 15:09:54 -0500
commit82e39386d256f9af0e383b0404747400b5a39dcd (patch)
treeff1056d5df96f3c4be64f26d4a62e8baaaa97558 /plugins/plugin_manager/init.lua
parentbe1a7bcd91ff1e4fa269389cbd65cdd54f288429 (diff)
downloadlite-xl-plugin-manager-82e39386d256f9af0e383b0404747400b5a39dcd.tar.gz
lite-xl-plugin-manager-82e39386d256f9af0e383b0404747400b5a39dcd.zip
Added in a proper repo_path.
Diffstat (limited to 'plugins/plugin_manager/init.lua')
-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 5ff7911..4c23f98 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" or addon.id == "json") and addon.status == "installed" then
+ if (addon.id == "plugin_manager" or addon.id == "json") and (addon.status == "installed" or addon.status == "orphan") then
addon.status = "special"
end
end