# Add ability to specify binary path/args for clangd \(\#10608\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/c1c8a74c7f46579450b7757a7c2c3453834d2727)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: c1c8a74c7f46579450b7757a7c2c3453834d2727

Requested commit: c1c8a74c7f46579450b7757a7c2c3453834d2727

Commit: c1c8a74c7f46579450b7757a7c2c3453834d2727

Tree: ee351fd559a3d52e2a604a3e00d8e56b4ad061f6

Author: Henrique Ferreiro

Committer: GitHub

## Message

````
Add ability to specify binary path/args for clangd (#10608)

This uses the language server settings added in #9293 to allow users to
specify the binary path and arguments with which to start up `clangd`.

Example user settings for `clangd`:

```json
{
  "lsp": {
    "clangd": {
      "binary": {
        "path": "/usr/bin/clangd",
        "arguments": ["--log=verbose"]
      },
    }
  }
}
```

Constraints:

* Right now this only allows ABSOLUTE paths.

Release Notes:

- Added ability to specify `clangd` binary `path` (must be absolute) and
`arguments` in user settings. Example: `{"lsp": {"clangd": {"binary":
{"path": "/usr/bin/clangd", "arguments": ["--log=verbose"] }}}}`
````

## Parents

- [2f00fcbdf626b1e49e7c07c7318be75cdd61ef41](https://git.cafe/gitcafe/zed/commit/2f00fcbdf626b1e49e7c07c7318be75cdd61ef41?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/c1c8a74c7f46579450b7757a7c2c3453834d2727?format=markdown)
