mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
config: removed interactive option. not needed
This commit is contained in:
parent
0369278159
commit
47f5c124aa
2 changed files with 2 additions and 11 deletions
|
@ -7,7 +7,7 @@ local M = {}
|
|||
---@class ManagerOpts
|
||||
---@field wait? boolean
|
||||
---@field clear? boolean
|
||||
---@field interactive? boolean
|
||||
---@field show? boolean
|
||||
---@field mode? string
|
||||
---@field plugins? LazyPlugin[]
|
||||
|
||||
|
@ -15,9 +15,6 @@ local M = {}
|
|||
---@param opts? ManagerOpts
|
||||
function M.run(ropts, opts)
|
||||
opts = opts or {}
|
||||
if opts.interactive == nil then
|
||||
opts.interactive = Config.options.interactive
|
||||
end
|
||||
|
||||
if opts.plugins then
|
||||
ropts.plugins = opts.plugins
|
||||
|
@ -27,7 +24,7 @@ function M.run(ropts, opts)
|
|||
M.clear()
|
||||
end
|
||||
|
||||
if opts.interactive then
|
||||
if opts.show ~= false then
|
||||
vim.schedule(function()
|
||||
require("lazy.view").show(opts.mode)
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue