Fix source code error on vim -u MYVIMRC

This commit is contained in:
Junegunn Choi 2013-11-11 10:23:12 +09:00
parent ff5fd55095
commit 8fd974b091

View file

@ -51,6 +51,9 @@ if exists('g:loaded_plug')
endif
let g:loaded_plug = 1
let s:cpo_save = &cpo
set cpo&vim
let s:plug_source = 'https://raw.github.com/junegunn/vim-plug/master/plug.vim'
let s:plug_file = 'Plugfile'
let s:plug_win = 0
@ -634,3 +637,6 @@ function! s:status()
call setline(1, 'Finished. '.errs.' error(s).')
endfunction
let &cpo = s:cpo_save
unlet s:cpo_save