project: Update variable and change comment (#17933)
Previous this *was* the `cli_environment`, but now it's the project environment. Release Notes: - N/A
This commit is contained in:
parent
c34fc5c6e5
commit
2165d52d3e
2 changed files with 10 additions and 9 deletions
|
@ -4646,7 +4646,7 @@ impl LspStore {
|
|||
|
||||
let stderr_capture = Arc::new(Mutex::new(Some(String::new())));
|
||||
let lsp_adapter_delegate = ProjectLspAdapterDelegate::for_local(self, worktree_handle, cx);
|
||||
let cli_environment = local.environment.update(cx, |environment, cx| {
|
||||
let project_environment = local.environment.update(cx, |environment, cx| {
|
||||
environment.get_environment(Some(worktree_id), Some(worktree_path.clone()), cx)
|
||||
});
|
||||
|
||||
|
@ -4656,7 +4656,7 @@ impl LspStore {
|
|||
adapter.clone(),
|
||||
Arc::clone(&worktree_path),
|
||||
lsp_adapter_delegate.clone(),
|
||||
cli_environment,
|
||||
project_environment,
|
||||
cx,
|
||||
) {
|
||||
Some(pending_server) => pending_server,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue