Repository navigation
|
I want to use ccls instead of clangd. |
Answered by
SpartanJ
Aug 6, 2024
Replies: 1 comment
|
You just need to configure the LSP server, go to: "servers": [
{
"language": "c",
"name": "ccls",
"url": "https://github.com/MaskRay/ccls",
"command": "ccls",
"file_patterns": ["%.c$", "%.h$", "%.C$", "%.H$", "%.objc$"]
},
{
"language": "cpp",
"use": "ccls",
"file_patterns": ["%.inl$", "%.cpp$", "%.hpp$", "%.cc$", "%.cxx$", "%.c++$", "%.hh$", "%.hxx$", "%.h++$", "%.objcpp$"]
}
] |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You just need to configure the LSP server, go to:
Settings -> Tools -> Plugin Manager -> LSP Client -> Preferences, add a new server for c and cpp:
Set the server section: