Update minpac integration commands to support the new minpac#status
This commit is contained in:
parent
f12fe814ef
commit
585f5d5cc7
1 changed files with 2 additions and 1 deletions
|
@ -10,8 +10,9 @@ endfunction
|
||||||
if exists('+packpath')
|
if exists('+packpath')
|
||||||
" These are really clever - minpac will actually be loaded on the fly only
|
" These are really clever - minpac will actually be loaded on the fly only
|
||||||
" when you need to update or clean your packages, rather than all the time.
|
" when you need to update or clean your packages, rather than all the time.
|
||||||
command! PackUpdate source $XDG_CONFIG_HOME/vim/plugins.vim | call minpac#update()
|
command! PackUpdate source $XDG_CONFIG_HOME/vim/plugins.vim | call minpac#update('', {'do': 'call minpac#status()'})
|
||||||
command! PackClean source $XDG_CONFIG_HOME/vim/plugins.vim | call minpac#clean()
|
command! PackClean source $XDG_CONFIG_HOME/vim/plugins.vim | call minpac#clean()
|
||||||
|
command! PackStatus source $XDG_CONFIG_HOME/vim/plugins.vim | call minpac#status()
|
||||||
|
|
||||||
" If the pack directory doesn't exist, we haven't installed any packages yet,
|
" If the pack directory doesn't exist, we haven't installed any packages yet,
|
||||||
" so let's call PackUpdate.
|
" so let's call PackUpdate.
|
||||||
|
|
Loading…
Reference in a new issue