Адреса плагинов

This commit is contained in:
2021-12-22 14:40:54 +03:00
parent 46f2972851
commit 8397cc0c00
2 changed files with 4 additions and 3 deletions

View File

@ -1208,7 +1208,8 @@ function! s:update_impl(pull, force, args) abort
normal! 2G
silent! redraw
let s:clone_opt = []
" Set remote name, overriding a possible user git config's clone.defaultRemoteName
let s:clone_opt = ['--origin', 'origin']
if get(g:, 'plug_shallow', 1)
call extend(s:clone_opt, ['--depth', '1'])
if s:git_version_requirement(1, 7, 10)