From f80f31025e01af0d9a2a23d54d022a6ec857b6c8 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 1 Oct 2020 14:00:14 +1000 Subject: [PATCH] Use global to discover whether minpac is installed, rather than checking for minpac#init --- config/vim/plugins.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/vim/plugins.vim b/config/vim/plugins.vim index 65f6a57..64cf9c4 100644 --- a/config/vim/plugins.vim +++ b/config/vim/plugins.vim @@ -1,6 +1,6 @@ if exists('+packpath') 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 augroup minpac autocmd!