health: remove duplicate nvim_path declaration

It's the same as the declaration above it, but hardcoded to use python3
and does not redirect stderr.
This commit is contained in:
Mark Lee 2016-10-06 19:42:19 -04:00
parent 2ef1b68751
commit 153e6835f1

View File

@ -100,13 +100,6 @@ function! s:version_info(python) abort
\ 'import neovim; print(neovim.__file__)', \ 'import neovim; print(neovim.__file__)',
\ '2>/dev/null'])) \ '2>/dev/null']))
let nvim_path = s:trim(system([
\ 'python3',
\ '-c',
\ 'import neovim; print(neovim.__file__)'
\ ]))
" \ '2>/dev/null']))
if empty(nvim_path) if empty(nvim_path)
return [python_version, 'unable to find neovim executable', pypi_version, 'unable to get neovim executable'] return [python_version, 'unable to find neovim executable', pypi_version, 'unable to get neovim executable']
endif endif