Some filetype specific settings

This commit is contained in:
Alexander Gehrke 2021-09-21 16:43:00 +02:00
parent d0a301d557
commit f6c0c86580
5 changed files with 17 additions and 16 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)