aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lee <vim@lazymalevolence.com>2016-10-06 19:42:19 -0400
committerMark Lee <vim@lazymalevolence.com>2016-10-06 22:09:10 -0700
commit153e6835f17e8609512ef51f0de39d35585412df (patch)
treea711c95051cae9a18cf58705ba1523040fe8d00f
parent2ef1b68751ba1817b18bb797dccc45c3a66c9fd8 (diff)
downloadrneovim-153e6835f17e8609512ef51f0de39d35585412df.tar.gz
rneovim-153e6835f17e8609512ef51f0de39d35585412df.tar.bz2
rneovim-153e6835f17e8609512ef51f0de39d35585412df.zip
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.
-rw-r--r--runtime/autoload/health/provider.vim7
1 files changed, 0 insertions, 7 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim
index 8fa281e7e3..38b23b2997 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -100,13 +100,6 @@ function! s:version_info(python) abort
\ 'import neovim; print(neovim.__file__)',
\ '2>/dev/null']))
- let nvim_path = s:trim(system([
- \ 'python3',
- \ '-c',
- \ 'import neovim; print(neovim.__file__)'
- \ ]))
- " \ '2>/dev/null']))
-
if empty(nvim_path)
return [python_version, 'unable to find neovim executable', pypi_version, 'unable to get neovim executable']
endif