mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:40:06 +08:00
perf(git): use notify instead of echo
This commit is contained in:
parent
975e1d5088
commit
91fd3ad573
@ -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
|
||||
|
4
bundle/git.vim/autoload/git/push.vim
vendored
4
bundle/git.vim/autoload/git/push.vim
vendored
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user