Implement a more robust way of locating rust-analyzer

When bundled, we will retrieve it out of the `Resources` folder.
Locally, we're expected to run `script/download-rust-analyzer` and
put `vendor/bin` in our $PATH.
This commit is contained in:
Antonio Scandurra
2021-10-25 11:02:35 +02:00
parent 715faaaceb
commit 59ed535cdf
13 changed files with 97 additions and 52 deletions
+1 -1
View File
@@ -327,7 +327,7 @@ impl Workspace {
params.languages.clone(),
params.client.clone(),
params.fs.clone(),
cx.background(),
cx,
)
});
cx.observe(&project, |_, _, cx| cx.notify()).detach();