diff options
author | Daniel Hahler <git@thequod.de> | 2016-10-22 17:28:17 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2017-01-08 23:25:45 +0100 |
commit | 339dd4b1fb25db2c592cd93e01d83a5b03a66f66 (patch) | |
tree | 6bfe2afcae38219742b930829d62566bf68d2a86 | |
parent | e7b1b5d6ed66141215a4b103563b42cc47b7c96e (diff) | |
download | rneovim-339dd4b1fb25db2c592cd93e01d83a5b03a66f66.tar.gz rneovim-339dd4b1fb25db2c592cd93e01d83a5b03a66f66.tar.bz2 rneovim-339dd4b1fb25db2c592cd93e01d83a5b03a66f66.zip |
s:check_python: handle 'pip install --user -e'
-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) |