mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 03:24:13 +00:00
fix: show view with schedule to prevent Neovim crash when no plugins are installed
This commit is contained in:
parent
4384d0e6d9
commit
5d84967e9c
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue