服务器 languageserver.ccls 无法启动:使用命令 ccls 启动服务器“languageserver.ccls”失败。
我已经安装了 coc-ccls,并将以下代码粘贴到 cocconfig 文件中。
{
"languageserver": {
"ccls": {
"command": "ccls",
"filetypes": [
"c",
"cpp",
"objc",
"objcpp"
],
"rootPatterns": [
".ccls",
"compile_commands.json",
".vim/",
".git/",
".hg/"
],
"initializationOptions": {
"cache": {
"directory": "/tmp/ccls"
}
}
}
}
}