Vim YouCompleteMe异常
异常信息如下:
The ycmd server SHUT DOWN (restart with ':YcmRestartServer').
Unexpected error while loading the YCM core library.
Use the ':YcmToggleLogs' command to check the logs.
1.重装YouCompleteMe
python3 YouCompleteMe/install.py --clang-completer --racer-completer
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