mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
health: fix Python 2 variable names
This commit is contained in:
parent
153e6835f1
commit
a8f9d56796
@ -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) : ''
|
||||
|
Loading…
Reference in New Issue
Block a user