junegunn / vim-plug

:hibiscus: Minimalist Vim Plugin Manager
https://junegunn.github.io/vim-plug/
MIT License
34.13k stars 1.93k forks source link

Plugins cloned with any non-default `clone.defaultRemoteName` setting recommend `PlugClean` #1155

Closed jgilchrist closed 2 years ago

jgilchrist commented 2 years ago

I have clone.defaultRemoteName set to upstream rather than origin. This PR seems to account for this. However, I still see new plugins cloned with upstream. As a result, because this line assumes the remote name as "origin", the plugin update UI recommends a PlugClean for all of these plugins.


NVIM v0.6.1
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Monterey

Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.6.1/share/nvim"
jgilchrist commented 2 years ago

Turns out the PR worked just fine - the script I thought was keeping vim-plug up to date was not bringing in the latest version, so I didn't have that fix. All working now!