aboutsummaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2021-12-01 11:39:01 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:30 +0100
commit2fcdae15d7d24fd2601f2a008c15cd6cf400172f (patch)
treee1c57503c0f6948327a7801c620b1c61227009bf /autoload
parent1a582470a95effb60e36b9db2e8b48260803b708 (diff)
downloaddotnvim-2fcdae15d7d24fd2601f2a008c15cd6cf400172f.tar.gz
dotnvim-2fcdae15d7d24fd2601f2a008c15cd6cf400172f.zip
Updated, nvim 0.6.0
Diffstat (limited to 'autoload')
-rw-r--r--autoload/plug.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/plug.vim b/autoload/plug.vim
index 6a958cb..b6e4cbf 100644
--- a/autoload/plug.vim
+++ b/autoload/plug.vim
@@ -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)