diff --git a/docs/src/languages/cpp.md b/docs/src/languages/cpp.md index 5660fc1f36..8ba2be78e1 100644 --- a/docs/src/languages/cpp.md +++ b/docs/src/languages/cpp.md @@ -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": [] + } + } + } +} +```