X-Git-Url: https://git.r.bdr.sh/rbdr/dotfiles/blobdiff_plain/b63b23c0532553bc92c39a11b2b3a1bd60f232a9..5c4db85624942bb71d743cfc19aef04427dc38f3:/vim/autoload/plug.vim diff --git a/vim/autoload/plug.vim b/vim/autoload/plug.vim index 6a958cb..ad95041 100644 --- a/vim/autoload/plug.vim +++ b/vim/autoload/plug.vim @@ -405,7 +405,7 @@ function! plug#end() for [map, names] in items(lod.map) for [mode, map_prefix, key_prefix] in - \ [['i', '', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] + \ [['i', '', ''], ['n', '', ''], ['v', '', 'gv'], ['o', '', '']] execute printf( \ '%snoremap %s %s:call lod_map(%s, %s, %s, "%s")', \ mode, map, map_prefix, string(map), string(names), mode != 'i', key_prefix) @@ -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)