This reverts commit ab595b0d55
.
Release Notes:
- (preview only) Fixed a panic in completions
This commit is contained in:
parent
2b699053e6
commit
2f2e7f0317
6 changed files with 182 additions and 288 deletions
|
@ -3736,7 +3736,7 @@ impl Editor {
|
|||
|
||||
if editor.focus_handle.is_focused(cx) && menu.is_some() {
|
||||
let mut menu = menu.unwrap();
|
||||
menu.resolve_visible_completions(editor.completion_provider.as_deref(), cx);
|
||||
menu.resolve_selected_completion(editor.completion_provider.as_deref(), cx);
|
||||
*context_menu = Some(CodeContextMenu::Completions(menu));
|
||||
drop(context_menu);
|
||||
cx.notify();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue