feat(utils): update command enhancements
This commit is contained in:
parent
7fb184fb1f
commit
e552342902
1 changed files with 5 additions and 0 deletions
|
@ -83,6 +83,11 @@ function M.update()
|
||||||
command = 'git',
|
command = 'git',
|
||||||
args = { 'pull', '--ff-only' },
|
args = { 'pull', '--ff-only' },
|
||||||
cwd = path,
|
cwd = path,
|
||||||
|
on_start = function()
|
||||||
|
vim.notify('Updating...', vim.log.levels.INFO, {
|
||||||
|
title = 'CosmicNvim',
|
||||||
|
})
|
||||||
|
end,
|
||||||
on_exit = function()
|
on_exit = function()
|
||||||
if vim.tbl_isempty(errors) then
|
if vim.tbl_isempty(errors) then
|
||||||
vim.notify(
|
vim.notify(
|
||||||
|
|
Loading…
Add table
Reference in a new issue