From c8abe931db4264e4805cdd9e6564df5d3057ccea Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 2 Feb 2020 18:19:42 -0800 Subject: [PATCH] checkhealth: avoid irrelevant virtualenv executables --- runtime/autoload/health/provider.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 1dd7f57f5f..c0faf2e9e4 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -507,6 +507,8 @@ function! s:check_virtualenv() abort " subshells launched from Nvim. let bin_dir = has('win32') ? '/Scripts' : '/bin' let venv_bins = glob($VIRTUAL_ENV . bin_dir . '/python*', v:true, v:true) + " XXX: Remove irrelevant executables found in bin/. + let venv_bins = filter(venv_bins, 'v:val !~# "python-config"') if len(venv_bins) for venv_bin in venv_bins let venv_bin = s:normalize_path(venv_bin)