mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
s:check_python: handle 'pip install --user -e'
This commit is contained in:
parent
e7b1b5d6ed
commit
339dd4b1fb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user