feat(utils): update command enhancements

This commit is contained in:
Matt Leong 2021-11-07 23:05:24 -08:00
parent 7fb184fb1f
commit e552342902

View file

@ -83,6 +83,11 @@ function M.update()
command = 'git',
args = { 'pull', '--ff-only' },
cwd = path,
on_start = function()
vim.notify('Updating...', vim.log.levels.INFO, {
title = 'CosmicNvim',
})
end,
on_exit = function()
if vim.tbl_isempty(errors) then
vim.notify(