feat(view): modes and help

This commit is contained in:
Folke Lemaitre 2022-11-29 10:30:14 +01:00
parent 88869e67d2
commit 0db98bf053
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 95 additions and 24 deletions

View file

@ -8,6 +8,7 @@ local M = {}
---@field wait? boolean
---@field clear? boolean
---@field interactive? boolean
---@field mode? string
---@param ropts RunnerOpts
---@param opts? ManagerOpts
@ -23,7 +24,7 @@ function M.run(ropts, opts)
if opts.interactive then
vim.schedule(function()
require("lazy.view").show()
require("lazy.view").show(opts.mode)
end)
end