Use global to discover whether minpac is installed, rather than checking for minpac#init
This commit is contained in:
parent
c3f33c1aab
commit
f80f31025e
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
if exists('+packpath')
|
if exists('+packpath')
|
||||||
silent! packadd minpac
|
silent! packadd minpac
|
||||||
if !exists('*minpac#init')
|
if !exists('g:loaded_minpac')
|
||||||
silent !git clone https://github.com/k-takata/minpac.git $XDG_CACHE_HOME/vim/pack/minpac/opt/minpac
|
silent !git clone https://github.com/k-takata/minpac.git $XDG_CACHE_HOME/vim/pack/minpac/opt/minpac
|
||||||
augroup minpac
|
augroup minpac
|
||||||
autocmd!
|
autocmd!
|
||||||
|
|
Loading…
Reference in a new issue