mirror of
https://github.com/junegunn/vim-plug.git
synced 2025-12-08 01:44:44 +08:00
Allow using Ruby/Python for PlugUpgrade on Windows (#192)
This commit is contained in:
4
plug.vim
4
plug.vim
@@ -1749,9 +1749,9 @@ function! s:upgrade()
|
|||||||
if v:shell_error
|
if v:shell_error
|
||||||
throw get(s:lines(output), -1, v:shell_error)
|
throw get(s:lines(output), -1, v:shell_error)
|
||||||
endif
|
endif
|
||||||
elseif s:ruby
|
elseif has('ruby')
|
||||||
call s:upgrade_using_ruby(new)
|
call s:upgrade_using_ruby(new)
|
||||||
elseif s:py2
|
elseif has('python')
|
||||||
call s:upgrade_using_python(new)
|
call s:upgrade_using_python(new)
|
||||||
else
|
else
|
||||||
return s:err('Missing: curl executable, ruby support or python support')
|
return s:err('Missing: curl executable, ruby support or python support')
|
||||||
|
|||||||
Reference in New Issue
Block a user