Last active
May 21, 2018 12:59
-
-
Save Trucido/445e144c45d1cd1a7d5cb1c5ed5eea0e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- 1/usr/share/vim/site/plugin/powerline.vim 2018-05-19 13:09:49.950986016 -0400 | |
+++ 2/usr/share/vim/site/plugin/powerline.vim 2018-05-19 13:10:13.602985689 -0400 | |
@@ -26,14 +26,14 @@ if exists('g:powerline_pycmd') | |
let s:pyeval = g:powerline_pyeval | |
let s:has_python = 1 | |
endif | |
-elseif has('python') | |
- let s:has_python = 1 | |
- let s:pycmd = 'py' | |
- let s:pyeval = get(g:, 'powerline_pyeval', 'pyeval') | |
elseif has('python3') | |
let s:has_python = 1 | |
let s:pycmd = 'py3' | |
let s:pyeval = get(g:, 'powerline_pyeval', 'py3eval') | |
+elseif has('python') | |
+ let s:has_python = 1 | |
+ let s:pycmd = 'py' | |
+ let s:pyeval = get(g:, 'powerline_pyeval', 'pyeval') | |
else | |
let s:has_python = 0 | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment