aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-02-05 01:11:06 +0100
committerGitHub <noreply@github.com>2017-02-05 01:11:06 +0100
commitbb2f36d038ccb375249a078997f68840ddcc66ef (patch)
treea080d374a6b38607806ca553d00b2d3e8b590c36 /runtime/autoload
parent3d3b1641d0cae3244c09d4602ab96d290dd0928a (diff)
parent18127f64c421a2c4da100a9e40d49c31a9a5170a (diff)
downloadrneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.tar.gz
rneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.tar.bz2
rneovim-bb2f36d038ccb375249a078997f68840ddcc66ef.zip
Merge #6038 from justinmk/win32-executable
win: executable()
Diffstat (limited to 'runtime/autoload')
-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 417426c101..61ab957829 100644
--- a/runtime/autoload/health/provider.vim
+++ b/runtime/autoload/health/provider.vim
@@ -280,7 +280,7 @@ function! s:check_python(version) abort
let python_bin = exepath(python_bin_name)
if exists('$PATH')
- for path in split($PATH, ':')
+ for path in split($PATH, has('win32') ? ';' : ':')
let path_bin = path.'/'.python_bin_name
if path_bin != python_bin && index(python_multiple, path_bin) == -1
\ && executable(path_bin)