Closed jsfaint closed 7 years ago
Check the results in this order:
if has('pythonx')
, then
:pythonx import neovim
else if has('python3')
, then
:python3 import neovim
else if has('python2')
, then
:python2 import neovim
echo has('pythonx') return 1
But :pythonx import neovim
show below errors
Interesting.. It looks when python2 and python3 both supported in vim, :pythonx
will use python2 first
It's not bug of vim-hug-neovim-rpc, I'll close it. Sorry for the interruption.
In this case, try adding set pyxversion=3
into your vimrc.
@roxma it works! thank you~
Same config works on windows with python3.5.3 When I switch to python2-neovim client,
vim-hug-neovim-rpc
works fine