fix(logger): set console logging to sync (#3379)

This commit is contained in:
LostNeophyte 2022-11-04 15:45:31 +01:00 committed by GitHub
parent 4841dc62c3
commit 060116eff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 7 deletions

View file

@ -112,11 +112,15 @@ end
---Update LunarVim
---pulls the latest changes from github and, resets the startup cache
function M:update()
reload("lvim.utils.hooks").run_pre_update()
local ret = reload("lvim.utils.git").update_base_lvim()
if ret then
reload("lvim.utils.hooks").run_post_update()
end
require("lvim.core.log"):info "Trying to update LunarVim..."
vim.schedule(function()
reload("lvim.utils.hooks").run_pre_update()
local ret = reload("lvim.utils.git").update_base_lvim()
if ret then
reload("lvim.utils.hooks").run_post_update()
end
end)
end
return M