add new
status
This commit is contained in:
parent
dd8356aea7
commit
c6f7607e85
@ -30,7 +30,8 @@ if (has('signs'))
|
|||||||
sign define Vu_error text=! texthl=Error
|
sign define Vu_error text=! texthl=Error
|
||||||
sign define Vu_active text=> texthl=Comment
|
sign define Vu_active text=> texthl=Comment
|
||||||
sign define Vu_todate text=. texthl=Comment
|
sign define Vu_todate text=. texthl=Comment
|
||||||
sign define Vu_updated text=+ texthl=Comment
|
sign define Vu_new text=+ texthl=Comment
|
||||||
|
sign define Vu_updated text=* texthl=Comment
|
||||||
sign define Vu_deleted text=- texthl=Comment
|
sign define Vu_deleted text=- texthl=Comment
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -53,8 +53,10 @@ func! vundle#installer#run(func_name, name, ...) abort
|
|||||||
|
|
||||||
redraw
|
redraw
|
||||||
|
|
||||||
if 'updated' == status
|
if 'new' == status
|
||||||
echo n.' installed'
|
echo n.' installed'
|
||||||
|
elseif 'updated' == status
|
||||||
|
echo n.' updated'
|
||||||
elseif 'todate' == status
|
elseif 'todate' == status
|
||||||
echo n.' already installed'
|
echo n.' already installed'
|
||||||
elseif 'deleted' == status
|
elseif 'deleted' == status
|
||||||
@ -218,9 +220,11 @@ func! s:sync(bang, bundle) abort
|
|||||||
return 'error'
|
return 'error'
|
||||||
end
|
end
|
||||||
|
|
||||||
if out =~# 'up-to-date'
|
if out =~# 'Cloning into '
|
||||||
|
return 'new'
|
||||||
|
elseif out =~# 'up-to-date'
|
||||||
return 'todate'
|
return 'todate'
|
||||||
end
|
endif
|
||||||
|
|
||||||
return 'updated'
|
return 'updated'
|
||||||
endf
|
endf
|
||||||
|
Loading…
Reference in New Issue
Block a user