mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
feat: added keybindings to update/install/clean/restore/... single plugins
This commit is contained in:
parent
54a82ad695
commit
08b7e42fb0
6 changed files with 43 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue