mirror of https://github.com/folke/lazy.nvim.git
fix: show view with schedule to prevent Neovim crash when no plugins are installed
This commit is contained in:
parent
4384d0e6d9
commit
5d84967e9c
|
@ -22,7 +22,9 @@ function M.run(ropts, opts)
|
||||||
end
|
end
|
||||||
|
|
||||||
if opts.interactive then
|
if opts.interactive then
|
||||||
|
vim.schedule(function()
|
||||||
require("lazy.view").show()
|
require("lazy.view").show()
|
||||||
|
end)
|
||||||
end
|
end
|
||||||
|
|
||||||
---@type Runner
|
---@type Runner
|
||||||
|
|
Loading…
Reference in New Issue