From 9b36bc80bb856ce60595f8911acabaf03428ab8f Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Sat, 2 Dec 2023 11:28:22 -0500 Subject: Reworded things, incorporated Guldo's changes. --- plugins/plugin_manager/init.lua | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/plugin_manager/init.lua') 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 -- cgit v1.2.3