1
mirror of https://github.com/junegunn/vim-plug.git synced 2024-12-28 14:24:47 -07:00

Merge pull request from zackhsi/master

Update YouCompleteMe install script
This commit is contained in:
Jeremy Pallats/starcraft.man 2015-09-18 15:57:20 -04:00
commit a93bdfc175

View File

@ -163,7 +163,7 @@ In that case, use `do` option to describe the task to be performed.
```vim ```vim
Plug 'Shougo/vimproc.vim', { 'do': 'make' } Plug 'Shougo/vimproc.vim', { 'do': 'make' }
Plug 'Valloric/YouCompleteMe', { 'do': './install.sh' } Plug 'Valloric/YouCompleteMe', { 'do': './install.py' }
``` ```
If you need more control, you can pass a reference to a Vim function that If you need more control, you can pass a reference to a Vim function that
@ -176,7 +176,7 @@ function! BuildYCM(info)
" - status: 'installed', 'updated', or 'unchanged' " - status: 'installed', 'updated', or 'unchanged'
" - force: set on PlugInstall! or PlugUpdate! " - force: set on PlugInstall! or PlugUpdate!
if a:info.status == 'installed' || a:info.force if a:info.status == 'installed' || a:info.force
!./install.sh !./install.py
endif endif
endfunction endfunction