1. There is an error message when vim opens
After vim
installing YouCompleteMe
the plug-in, you may get an error message like the following when vim
you open the file:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). Unexpected exit code 1.
2. Solutions
to the installation path YouCompleteMe
of
imaginemiracle@im-Linux:~$ cd ~/.vim/plugged/YouCompleteMe
Execute the following command
imaginemiracle@im-Linux:~$ /usr/bin/python install.py
或
imaginemiracle@im-Linux:~$ /usr/bin/python2 install.py
At this point, the error message disappears and vim
can be automatically completed.