mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
2ef1b68751
commit
153e6835f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user