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
|
||||
|
||||
if opts.interactive then
|
||||
require("lazy.view").show()
|
||||
vim.schedule(function()
|
||||
require("lazy.view").show()
|
||||
end)
|
||||
end
|
||||
|
||||
---@type Runner
|
||||
|
|
Loading…
Reference in New Issue