Fix source code error on vim -u MYVIMRC
This commit is contained in:
parent
ff5fd55095
commit
8fd974b091
1 changed files with 6 additions and 0 deletions
6
plug.vim
6
plug.vim
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue