mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Detach completion confirmation task when selecting with mouse
Otherwise the spawn to resolve the additional edits never runs causing autocomplete to never add imports automatically when clicking with the mouse
This commit is contained in:
parent
a785eb9141
commit
3d68fcad0b
1 changed files with 2 additions and 1 deletions
|
@ -1057,7 +1057,8 @@ impl CompletionsMenu {
|
|||
item_ix: Some(item_ix),
|
||||
},
|
||||
cx,
|
||||
);
|
||||
)
|
||||
.map(|task| task.detach());
|
||||
})
|
||||
.into_any(),
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue