Open jredies opened 8 years ago
do you have latest nvim 0.1.4 (or master) and latest python-client (neovim pip2 package) 0.1.7 ?
What happens if you activate the virtualenv before starting neovim? (It might be too late to do it in init.vim)
NeoVim Version v0.1.5-92-g490804e (master)
and
# yolk -a | grep vim
neovim - 0.1.7 - active
So, the virtualenv is activate before I start neovim. As far as I understand this it is just activated within neovim during startup in the init.vim
. Where would I put the code to activate it faster?
Using this
let g:python_host_prog = '/users/is/jredies/pyenvs/dev/bin/python'
let g:loaded_python3_provider = 1
instead of my above mentoined Python code snippet doesn't make a difference. I have put this and the Python Snippt respectively in a source ~/.config/nvim/python.vim
which is sourced in my init.vim
after handling the Plugin Manager.
I understand that you already have similar issues posted here. I start
nvim
from apython2.7
virtualenv which hasneovim
andpyzmq
installed (pip).Also, I did:
cd rplugin; ln -s python3 python
The neovim config contains
Hence, should activate that virtualenv within neovim. (Works with
jedi
.):IPython2
yieldsno notification handler registered for "/users/is/jredies/.config/nvim/plugged/nvim-ipy/rplugin/python/nvim_ipy:function:IPyConnect"
and
:UpdateRemotePlugins
yields/users/is/jredies/.dotfiles/nvim/.init.vim-rplugin~
contains justStarting nvim with
$NVIM_PYTHON_LOG_FILE
and running :UpdateRemotePlugins gives the following logfile (and another empty logfile):