From 9e9655f947ce4decf743d4b158910848ab3aa2d5 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 11 Sep 2013 00:08:36 +0900 Subject: [PATCH] Fix PlugUpgrade --- plug.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plug.vim b/plug.vim index a1aa401..86517c8 100644 --- a/plug.vim +++ b/plug.vim @@ -47,7 +47,7 @@ if exists('g:loaded_plug') endif let g:loaded_plug = 1 -let s:plug_source = 'https://raw.github.com/junegunn/vim-plug/master/vim-plug.vim' +let s:plug_source = 'https://raw.github.com/junegunn/vim-plug/master/plug.vim' let s:plug_win = 0 let s:is_win = has('win32') || has('win64') let s:me = expand(':p') @@ -347,7 +347,7 @@ function! s:upgrade() \ new, s:plug_source, mee, mee, new, mee)) if v:shell_error == 0 unlet g:loaded_plug - execute "source ". s:me + echo "Now reload vim-plug with: source ". s:me else echoerr "Error upgrading vim-plug" return