add vim-plug to autoload
This commit is contained in:
parent
ead776906f
commit
814d452bbe
@ -3,8 +3,7 @@
|
|||||||
"
|
"
|
||||||
" Download plug.vim and put it in ~/.vim/autoload
|
" Download plug.vim and put it in ~/.vim/autoload
|
||||||
"
|
"
|
||||||
" mkdir -p ~/.vim/autoload
|
" curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||||
" curl -fLo ~/.vim/autoload/plug.vim \
|
|
||||||
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
" https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||||
"
|
"
|
||||||
" Edit your .vimrc
|
" Edit your .vimrc
|
||||||
@ -37,7 +36,7 @@
|
|||||||
" Visit https://github.com/junegunn/vim-plug for more information.
|
" Visit https://github.com/junegunn/vim-plug for more information.
|
||||||
"
|
"
|
||||||
"
|
"
|
||||||
" Copyright (c) 2014 Junegunn Choi
|
" Copyright (c) 2015 Junegunn Choi
|
||||||
"
|
"
|
||||||
" MIT License
|
" MIT License
|
||||||
"
|
"
|
||||||
@ -849,7 +848,7 @@ function! s:job_handler(name) abort
|
|||||||
call s:reap(a:name)
|
call s:reap(a:name)
|
||||||
call s:tick()
|
call s:tick()
|
||||||
else
|
else
|
||||||
let job.result .= s:to_s(v:job_data[2])
|
let job.result .= substitute(s:to_s(v:job_data[2]), '[\r\n]', '', 'g') . "\n"
|
||||||
" To reduce the number of buffer updates
|
" To reduce the number of buffer updates
|
||||||
let job.tick = get(job, 'tick', -1) + 1
|
let job.tick = get(job, 'tick', -1) + 1
|
||||||
if job.tick % len(s:jobs) == 0
|
if job.tick % len(s:jobs) == 0
|
||||||
@ -1749,9 +1748,9 @@ function! s:upgrade()
|
|||||||
if v:shell_error
|
if v:shell_error
|
||||||
throw get(s:lines(output), -1, v:shell_error)
|
throw get(s:lines(output), -1, v:shell_error)
|
||||||
endif
|
endif
|
||||||
elseif s:ruby
|
elseif has('ruby')
|
||||||
call s:upgrade_using_ruby(new)
|
call s:upgrade_using_ruby(new)
|
||||||
elseif s:py2
|
elseif has('python')
|
||||||
call s:upgrade_using_python(new)
|
call s:upgrade_using_python(new)
|
||||||
else
|
else
|
||||||
return s:err('Missing: curl executable, ruby support or python support')
|
return s:err('Missing: curl executable, ruby support or python support')
|
||||||
|
Loading…
Reference in New Issue
Block a user