Skip to content

Instantly share code, notes, and snippets.

@Trucido
Last active May 21, 2018 12:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Trucido/445e144c45d1cd1a7d5cb1c5ed5eea0e to your computer and use it in GitHub Desktop.
Save Trucido/445e144c45d1cd1a7d5cb1c5ed5eea0e to your computer and use it in GitHub Desktop.
--- 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