We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f1958f commit db6e246Copy full SHA for db6e246
core/autoload/spacevim/vim/plug.vim
@@ -6,8 +6,11 @@ endfunction
6
7
" https://github.com/junegunn/vim-plug/wiki/extra#automatically-install-missing-plugins-on-startup
8
function! spacevim#vim#plug#check(...) abort
9
- let l:msg = '[space-vim] Some layers need to install the missing plugins.'
10
- if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
+ let l:msg = '[space-vim] Need to install the missing plugins: '
+ let missing = filter(values(g:plugs), '!isdirectory(v:val.dir)')
11
+ if len(missing)
12
+ let plugs = map(missing, 'split(v:val.dir, "/")[-1]')
13
+ let l:msg .= string(plugs)
14
if a:0 == 1
15
if s:ask(l:msg)
16
silent PlugInstall --sync | q
0 commit comments