mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 11:24:14 +00:00
fix: ensure ui closed after installing missing plugins
This commit is contained in:
parent
dac844ed61
commit
e7d8a16262
1 changed files with 5 additions and 0 deletions
|
@ -3,6 +3,7 @@ local Config = require("lazy.core.config")
|
|||
local Handler = require("lazy.core.handler")
|
||||
local Plugin = require("lazy.core.plugin")
|
||||
local Cache = require("lazy.core.cache")
|
||||
local View = require("lazy.view")
|
||||
|
||||
---@class LazyCoreLoader
|
||||
local M = {}
|
||||
|
@ -45,8 +46,12 @@ function M.setup()
|
|||
break
|
||||
end
|
||||
end
|
||||
if View.visible() then
|
||||
View.view:close()
|
||||
end
|
||||
Util.track()
|
||||
end
|
||||
|
||||
Config.mapleader = vim.g.mapleader
|
||||
|
||||
-- report any warnings & errors
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue