Files
oak-gpui/docs/src/languages/cpp.md
T
Marshall Bowers 01e40928d8 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
2024-09-05 13:05:09 -04:00

26 lines
496 B
Markdown

# C++
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)
## 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": []
}
}
}
}
```