1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

perf(git): use notify instead of echo

This commit is contained in:
wsdjeg 2022-10-27 00:27:02 +08:00
parent 975e1d5088
commit 91fd3ad573
2 changed files with 3 additions and 2 deletions

View File

@ -379,6 +379,7 @@ function! s:show_diff_of_unstaged_hunks() abort
endfunction
function! s:fetch_repo() abort
Git fetch
endfunction
function! s:pull_repo() abort

View File

@ -27,9 +27,9 @@ endfunction
function! s:on_exit(...) abort
let data = get(a:000, 2)
if data != 0
echo 'failed!'
call s:NOTI.notify('Git push failed!', 'WarningMsg')
else
echo 'done!'
call s:NOTI.notify('Git push done!')
endif
endfunction