aboutsummaryrefslogtreecommitdiff
path: root/plugins/plugin_manager
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-12-02 11:28:22 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-12-02 11:28:22 -0500
commit9b36bc80bb856ce60595f8911acabaf03428ab8f (patch)
tree4e91de294ebcc4d9a5491295a89b917a17b728b1 /plugins/plugin_manager
parentaa0c6115638195b39eeca614cd28f7831c22dd0a (diff)
downloadlite-xl-plugin-manager-9b36bc80bb856ce60595f8911acabaf03428ab8f.tar.gz
lite-xl-plugin-manager-9b36bc80bb856ce60595f8911acabaf03428ab8f.zip
Reworded things, incorporated Guldo's changes.
Diffstat (limited to 'plugins/plugin_manager')
-rw-r--r--plugins/plugin_manager/init.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/plugin_manager/init.lua b/plugins/plugin_manager/init.lua
index 3f27f96..76f799a 100644
--- a/plugins/plugin_manager/init.lua
+++ b/plugins/plugin_manager/init.lua
@@ -131,7 +131,7 @@ local function run(cmd, progress)
progress_line, v[3] = extract_progress(v[3])
if err then
v[2]:reject(json.decode(err).error)
- else
+ else
v[2]:reject(err)
end
end
@@ -366,9 +366,4 @@ if pcall(require, "plugins.terminal") then
})
end
-keymap.add({
- ['ctrl+shift+1'] = 'plugin-manager:show',
- ['ctrl+shift+2'] = 'plugin-manager:open-session'
-})
-
return PluginManager