You are not logged in.

#1 2018-05-10 05:38:24

yafeng
Member
Registered: 2013-02-28
Posts: 16

How to use Neovim to autocomplete python3?

Hi guys:

I used vim and vim-jedi to autocmplete python3 code and work well.

I try to use neovim,But there are some problems:
I install neovim and python-neovim,
when I open a file with nvim and input
import os
os.
the neovim have an error:

Error: Required vim compiled with +python
E117: Unknown function: pythoncomplete#Complete
Press ENTER or type command to continue

but after I install python2-neovim
it works, but only autocomplete the python2 library

how to change it to autocomplete python3 code?

Last edited by yafeng (2018-05-10 05:39:20)

Offline

Board footer

Powered by FluxBB