Use python3 for powerline
This commit is contained in:
		
							parent
							
								
									4457d21b1f
								
							
						
					
					
						commit
						42670e50af
					
				
							
								
								
									
										8
									
								
								vimrc
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								vimrc
									
									
									
									
									
								
							| @ -52,7 +52,7 @@ else | ||||
| 	Plug 'vim-scripts/LustyJuggler' | ||||
| 	Plug 'powerline/powerline', { | ||||
| 		\ 'branch': 'develop', | ||||
| 		\ 'do': 'python setup.py install --user', | ||||
| 		\ 'do': 'python3 setup.py install --user', | ||||
| 		\ 'rtp': 'powerline/bindings/vim', | ||||
| 		\ } | ||||
| endif | ||||
| @ -156,9 +156,9 @@ so ~/.vim/plugged/cmdalias.vim/plugin/cmdalias.vim | ||||
| 
 | ||||
| if !has("nvim") | ||||
| 	"powerline | ||||
| 	python from powerline.vim import setup as powerline_setup | ||||
| 	python powerline_setup() | ||||
| 	python del powerline_setup | ||||
| 	python3 from powerline.vim import setup as powerline_setup | ||||
| 	python3 powerline_setup() | ||||
| 	python3 del powerline_setup | ||||
| 	set laststatus=2 | ||||
| 
 | ||||
| 	" lj | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user