Quellcode durchsuchen

Revert "Use python2 for YCM post-installation"

This reverts commit 367e61b6b0a628f1b6c90cb6f8520e4312f96e4c.
Junegunn Choi vor 9 Jahren
Ursprung
Commit
92bcecddd6
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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': 'python2 install.py' }
+Plug 'Valloric/YouCompleteMe', { 'do': './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
-    !python2 install.py
+    !./install.py
   endif
 endfunction