mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-31 15:19:26 +02:00
fix(logger): set console logging to sync (#3379)
This commit is contained in:
parent
4841dc62c3
commit
060116eff0
3 changed files with 12 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue