diff options
-rw-r--r-- | runtime/autoload/health/provider.vim | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 98e2f90155..a26ac7e902 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -174,7 +174,9 @@ function! s:version_info(python) abort let nvim_version = 'unable to find nvim version' let base = fnamemodify(nvim_path, ':h') - let metas = glob(base.'-*/METADATA', 1, 1) + glob(base.'-*/PKG-INFO', 1, 1) + let metas = glob(base.'-*/METADATA', 1, 1) + \ + glob(base.'-*/PKG-INFO', 1, 1) + \ + glob(base.'.egg-info/PKG-INFO', 1, 1) let metas = sort(metas, 's:compare') if !empty(metas) |