From cbaf4f30881025d8243ad3c4ba99c1a885c46c03 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 15 Mar 2015 13:04:47 +0900 Subject: [PATCH] Allow using Ruby/Python for PlugUpgrade on Windows (#192) --- plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.vim b/plug.vim index e625951..7ec5945 100644 --- a/plug.vim +++ b/plug.vim @@ -1749,9 +1749,9 @@ function! s:upgrade() if v:shell_error throw get(s:lines(output), -1, v:shell_error) endif - elseif s:ruby + elseif has('ruby') call s:upgrade_using_ruby(new) - elseif s:py2 + elseif has('python') call s:upgrade_using_python(new) else return s:err('Missing: curl executable, ruby support or python support')