Revert "Make sure update/install after PlugUpgrade work"
This reverts commit 19b12e2216
.
No luck. The user still have to reload .vimrc anyway. Let's just make it
clear that a restart can be required after PlugUpgrade.
This commit is contained in:
parent
19b12e2216
commit
8289477d18
2 changed files with 9 additions and 9 deletions
|
@ -61,11 +61,11 @@ Reload .vimrc and `:PlugInstall` to install plugins.
|
|||
### Commands
|
||||
|
||||
| Command | Description |
|
||||
| --------------------------------- | ------------------------------------------------------------------ |
|
||||
| --------------------------------- | ------------------------------------------------------------------- |
|
||||
| PlugInstall [name ...] [#threads] | Install plugins |
|
||||
| PlugUpdate [name ...] [#threads] | Install or update plugins |
|
||||
| PlugClean[!] | Remove unused directories (bang version will clean without prompt) |
|
||||
| PlugUpgrade | Upgrade vim-plug itself |
|
||||
| PlugUpgrade | Upgrade vim-plug itself. You may need to restart Vim after upgrade. |
|
||||
| PlugStatus | Check the status of plugins |
|
||||
| PlugDiff | See the updated changes from the previous PlugUpdate |
|
||||
|
||||
|
|
2
plug.vim
2
plug.vim
|
@ -544,7 +544,7 @@ function! s:update_impl(pull, force, args) abort
|
|||
\ remove(args, -1) : get(g:, 'plug_threads', 16)
|
||||
|
||||
let managed = filter(copy(g:plugs), 's:is_managed(v:key)')
|
||||
let todo = empty(args) ? filter(managed, '!get(v:val, "frozen", 0)') :
|
||||
let todo = empty(args) ? filter(managed, '!v:val.frozen') :
|
||||
\ filter(managed, 'index(args, v:key) >= 0')
|
||||
|
||||
if empty(todo)
|
||||
|
|
Loading…
Reference in a new issue