不是编辑器命令CocInstall coc锈蚀分析器



好的,所以我通过添加到我的.virc 中,用neobundle安装了coc.nvim

NeoBundle 'neoclide/coc.nvim'

之后我添加了

:CocInstall coc-rust-analyzer

与指南中提到的文件相同。但即使在我确定CocInstall命令有效之后,我仍然面临这个错误:

非编辑器命令:CocInstall coc锈蚀分析仪

在尝试打开vim时。

所以首先我修复了

[coc.nvim] build/index.js not found, please compile coc.nvim

我以前遇到的错误。

通过使用更改NeoBundle安装

NeoBundle 'neoclide/coc.nvim', {'build': {'unix': 'yarn install --frozen-lockfile'},}

其他操作系统将需要其他密钥来执行命令。可用密钥:windows、cygwin、mac、unix


如果CocInstall安装不正确,您将从主题中看到错误


之后我通过将配置更改为来解决问题

CocInstall 'coc-rust-analyzer'

最新更新