From 585f5d5cc74ac887fc15ffbaf4600b4eb495d3e3 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sat, 13 Jun 2020 19:36:24 +1000 Subject: [PATCH] Update minpac integration commands to support the new minpac#status --- config/vim/init.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/vim/init.vim b/config/vim/init.vim index 1c0046a..33faf67 100644 --- a/config/vim/init.vim +++ b/config/vim/init.vim @@ -10,8 +10,9 @@ endfunction if exists('+packpath') " 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. - 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! 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, " so let's call PackUpdate.