feat: added keybindings to update/install/clean/restore/... single plugins

This commit is contained in:
Folke Lemaitre 2022-11-29 10:56:17 +01:00
parent 54a82ad695
commit 08b7e42fb0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
6 changed files with 43 additions and 22 deletions

View file

@ -9,6 +9,7 @@ local M = {}
---@field clear? boolean
---@field interactive? boolean
---@field mode? string
---@field plugins? LazyPlugin[]
---@param ropts RunnerOpts
---@param opts? ManagerOpts
@ -18,6 +19,10 @@ function M.run(ropts, opts)
opts.interactive = Config.options.interactive
end
if opts.plugins then
ropts.plugins = opts.plugins
end
if opts.clear then
M.clear()
end