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:
parent
fe53113ee4
commit
01e40928d8
1 changed files with 18 additions and 3 deletions
|
@ -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)
|
- Tree Sitter: [tree-sitter/tree-sitter-cpp](https://github.com/tree-sitter/tree-sitter-cpp)
|
||||||
- Language Server: [clangd/clangd](https://github.com/clangd/clangd)
|
- Language Server: [clangd/clangd](https://github.com/clangd/clangd)
|
||||||
|
|
||||||
<--!
|
## Binary
|
||||||
TBD: Add some C++ Docs
|
|
||||||
-->
|
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": []
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue