Переглянути джерело

Merge pull request #467 from hobarrera/ycm-py2

Use python2 for YCM post-installation
Junegunn Choi 9 роки тому
батько
коміт
d1752e7d14
1 змінених файлів з 2 додано та 2 видалено
  1. 2 2
      README.md

+ 2 - 2
README.md

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