docs: Document configuring binary path for clangd (#17433)

This PR adds documentation for how to configure the binary path for
`clangd`.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-09-05 13:05:09 -04:00 committed by GitHub
parent fe53113ee4
commit 01e40928d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,6 +5,21 @@ C++ support is available natively in Zed.
- Tree Sitter: [tree-sitter/tree-sitter-cpp](https://github.com/tree-sitter/tree-sitter-cpp)
- Language Server: [clangd/clangd](https://github.com/clangd/clangd)
<--!
TBD: Add some C++ Docs
-->
## Binary
You can configure which `clangd` binary Zed should use.
To use a binary in a custom location, add the following to your `settings.json`:
```json
{
"lsp": {
"clangd": {
"binary": {
"path": "/path/to/clangd",
"args": []
}
}
}
}
```