Use project environment in LSP runnables context (#29761)
Release Notes: - Fixed the tasks from LSP not inheriting the worktree environment ---- cc @SomeoneToIgnore
This commit is contained in:
parent
35539847a4
commit
460ac96df4
5 changed files with 55 additions and 11 deletions
|
@ -59,8 +59,8 @@ impl ProjectEnvironment {
|
|||
|
||||
pub(crate) fn get_buffer_environment(
|
||||
&mut self,
|
||||
buffer: Entity<Buffer>,
|
||||
worktree_store: Entity<WorktreeStore>,
|
||||
buffer: &Entity<Buffer>,
|
||||
worktree_store: &Entity<WorktreeStore>,
|
||||
cx: &mut Context<Self>,
|
||||
) -> Shared<Task<Option<HashMap<String, String>>>> {
|
||||
if cfg!(any(test, feature = "test-support")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue