Closed persytry closed 2 months ago
这个报错是指 coc.nvim 向 server 请求失败,你的 rust-analyzer 是怎么安装的?通过 coc-rust-analyzer 还是自己安装的?如果是通过 coc-rust-analyzer,请检查
~/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer --version
谢谢,问题已经解决,原因是存在~/.cargo/bin/rust-analyzer
,删掉~/.cargo/bin/rust-analyzer
,让coc-rust-analyzer
去自己安装~/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer
就好了
谢谢,问题已经解决,原因是存在
~/.cargo/bin/rust-analyzer
,删掉~/.cargo/bin/rust-analyzer
,让coc-rust-analyzer
去自己安装~/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer
就好了
上述解决方法是错误的,正确的方法是用rustup component add rust-analyzer
安装rust-analyzer, 默认安装到~/.cargo/bin/rust-analyzer
中,然后可以选择把~/.config/coc/extensions/coc-rust-analyzer-data/rust-analyzer
删掉
CocOpenLog的日志报错如下:
Coc插件如下:
CocInfo的日志如下:
系统版本:
debian是运行在VMware虚拟机里的:
谢谢