diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 47e6da9f..54042038 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -394,6 +394,7 @@ func! s:make_sync_command(bang, bundle) abort \ 'git remote set-url origin ' . vundle#installer#shellesc(a:bundle.uri), \ 'git fetch', \ 'git reset --hard origin/HEAD', + \ 'git submodule sync --recursive', \ 'git submodule update --init --recursive', \ ] let cmd = join(cmd_parts, ' && ') @@ -410,6 +411,7 @@ func! s:make_sync_command(bang, bundle) abort let cmd_parts = [ \ 'cd '.vundle#installer#shellesc(a:bundle.path()), \ 'git pull', + \ 'git submodule sync --recursive', \ 'git submodule update --init --recursive', \ ] let cmd = join(cmd_parts, ' && ')