mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Fix source code error on vim -u MYVIMRC
This commit is contained in:
parent
ff5fd55095
commit
8fd974b091
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 New Issue
Block a user