Once again fix minpac initialization

This commit is contained in:
Kenneth Benzie 2020-12-10 17:41:17 +00:00
parent 48913e09c3
commit 76acb9cd90

View File

@ -1,10 +1,10 @@
" minpac
command! PackUpdate packadd minpac | source $MYVIMRC |
\ call minpac#init() | call minpac#update('', {'do': 'call minpac#status()'})
command! PackStatus packadd minpac | source $MYVIMRC |
\ call minpac#init() | call minpac#status()
command! PackClean packadd minpac | source $MYVIMRC |
\ call minpac#init() | call minpac#clean()
function! s:minpac_init() abort
packadd minpac | call minpac#init() | source $MYVIMRC
endfunction
command! PackUpdate call s:minpac_init() | call minpac#update('', {'do': 'call minpac#status()'})
command! PackStatus call s:minpac_init() | call minpac#status()
command! PackClean call s:minpac_init() | call minpac#clean()
" Sort Python Imports
command! ISort call do#isort()