as a nvim user, every time I start to edit a python file, a error msg is shown to me.
jedi-vim: the detected Python version (2) is not functional. Is the "neovim" module installed? While jedi-vim will work, it might not use the expected Python path.
so in nvim init file, I disabled python2 by let g:loaded_python_provider = 1, then :echo has('python') will produce 0.
but from autoload/jedi.vim, nvim will always fire the error msg even when python2 or python3 is disabled intentionally in nvim.
if has('nvim') || (has('python') && has('python3'))
" Neovim usually has both python providers. Skipping the `has` check
Issue
as a nvim user, every time I start to edit a python file, a error msg is shown to me.
so in nvim init file, I disabled python2 by
let g:loaded_python_provider = 1
, then:echo has('python')
will produce0
.but from
autoload/jedi.vim
,nvim
will always fire the error msg even when python2 or python3 is disabled intentionally in nvim.Versions