Linux下vim配置出问题了

img


Linux下vim本来配置好了,可以进行智能提示,但是我把python升级到3.8之后在vim里面书写c++程序不会出现智能提示了,问一下是怎么回事,如何解决


The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library compiled for Python 2...loaded in Python 3. Set the 'g:ycm_server_python_interpreter' option to a Python 2 interpreter path.

想为vim启动自动补全需要下载插件,地址如下:


GitHub - rkulla/pydiction: Python Tab-completion for Vim Python Tab-completion for Vim. Contribute to rkulla/pydiction development by creating an account on GitHub. https://github.com/rkulla/pydiction

这个插件比较好,自动补全,我经常用。
想了解更多,请关注我。

这个插件不支持python3,,,你需要更换下

 YCM core library