Some filetype specific settings
This commit is contained in:
parent
d0a301d557
commit
f6c0c86580
5 changed files with 17 additions and 16 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue