mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-28 19:34:15 +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 Handler = require("lazy.core.handler")
|
||||||
local Plugin = require("lazy.core.plugin")
|
local Plugin = require("lazy.core.plugin")
|
||||||
local Cache = require("lazy.core.cache")
|
local Cache = require("lazy.core.cache")
|
||||||
|
local View = require("lazy.view")
|
||||||
|
|
||||||
---@class LazyCoreLoader
|
---@class LazyCoreLoader
|
||||||
local M = {}
|
local M = {}
|
||||||
|
@ -45,8 +46,12 @@ function M.setup()
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
if View.visible() then
|
||||||
|
View.view:close()
|
||||||
|
end
|
||||||
Util.track()
|
Util.track()
|
||||||
end
|
end
|
||||||
|
|
||||||
Config.mapleader = vim.g.mapleader
|
Config.mapleader = vim.g.mapleader
|
||||||
|
|
||||||
-- report any warnings & errors
|
-- report any warnings & errors
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue