fix: ensure ui closed after installing missing plugins

This commit is contained in:
Will Hopkins 2023-08-20 17:40:17 -07:00
commit e7d8a16262
No known key found for this signature in database
GPG key ID: 643B8C585BABBB68

View file

@ -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