Revert "Use python2 for YCM post-installation"
This reverts commit 367e61b6b0.
			
			
This commit is contained in:
		
							parent
							
								
									d1752e7d14
								
							
						
					
					
						commit
						92bcecddd6
					
				|  | @ -195,7 +195,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': 'python2 install.py' } | 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 | ||||||
|  | @ -208,7 +208,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 | ||||||
|     !python2 install.py |     !./install.py | ||||||
|   endif |   endif | ||||||
| endfunction | endfunction | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user