aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lee <vim@lazymalevolence.com>2016-10-06 22:03:04 -0700
committerMark Lee <vim@lazymalevolence.com>2016-10-06 22:09:36 -0700
commita8f9d5679636a1b745dbd45423d1282df6c65c1b (patch)
tree27935ea0655eff0e0150b8c4f276c2e1421b1843
parent153e6835f17e8609512ef51f0de39d35585412df (diff)
downloadrneovim-a8f9d5679636a1b745dbd45423d1282df6c65c1b.tar.gz
rneovim-a8f9d5679636a1b745dbd45423d1282df6c65c1b.tar.bz2
rneovim-a8f9d5679636a1b745dbd45423d1282df6c65c1b.zip
health: fix Python 2 variable names
-rw-r--r--runtime/autoload/health/provider.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index 38b23b2997..aadb2688b7 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -141,7 +141,7 @@ endfunction
function! s:check_python(version) abort
call health#report_start('Python ' . a:version . ' provider')
- let python_bin_name = 'python'.(a:version == 2 ? '2' : '3')
+ let python_bin_name = 'python'.(a:version == 2 ? '' : '3')
let pyenv = resolve(exepath('pyenv'))
let pyenv_root = exists('$PYENV_ROOT') ? resolve($PYENV_ROOT) : 'n'
let venv = exists('$VIRTUAL_ENV') ? resolve($VIRTUAL_ENV) : ''