fix(config): properly handle uis connecting after startup

This commit is contained in:
Folke Lemaitre 2023-01-07 09:12:51 +01:00
parent 457e65eec8
commit 5ed89b5a0d
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 28 additions and 26 deletions

View file

@ -142,6 +142,7 @@ end
function M.very_lazy()
local function _load()
vim.defer_fn(function()
vim.g.did_very_lazy = true
vim.cmd("do User VeryLazy")
end, 50)
end