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 @H_404_41@-@H_404_41@-clang@H_404_41@-completer @H_404_41@-@H_404_41@-racer@H_404_41@-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