mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-16 00:47:39 +03:00
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
@ -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": []
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user