# Use rust-analyzer from path if possible \(\#12418\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 07dbd2bce82d338daf80fe0765fd6eb99e68d268

Requested commit: 07dbd2bce82d338daf80fe0765fd6eb99e68d268

Commit: 07dbd2bce82d338daf80fe0765fd6eb99e68d268

Tree: ace01ca2b49b48eb533e849dcb8b7a2f129748e9

Author: Stanislav Alekseev

Committer: GitHub

## Message

```
Use rust-analyzer from path if possible (#12418)

Release Notes:

- Added support for looking up the `rust-analyzer` binary in `$PATH`. This allows using such tools as `asdf` and nix to configure per-folder rust installations. To enable this behavior, use the `path_lookup` key when configuring the `rust-analyzer` `binary`: `{"lsp": {"rust-analyzer": {"binary": {"path_lookup": true }}}}`.
```

## Parents

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

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