Ubuntu18.04 ycm server SHUTDOWN

当在Unbuntu18.04中安装ycm时,将会遇到ycm server SHUTDOWN问题具体信息为:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer'). YCM core library not detected; you need to compile YCM before using it. Follow the instructions in the documentation
1.重装YouCompleteMe
python3 install.py --clang-completer --racer-completer(先进入ycm文件~/.vim/bundle/YouCompleteMe,在对其中的install.py进行此命令操作。
2.安装YouCompleteMe过程提示cargo异常
ERROR:cargo is required for the Rust completer
如果提示cargo异常,需要安装cargo,命令如下:
curl -sSf https://static.rust-lang.org/rustup.sh | sh
cargo安装成功后再重试上述步骤1
参考连接:https://blog.csdn.net/gis_101/article/details/78769347

你可能感兴趣的:(Ubuntu18.04 ycm server SHUTDOWN)