This reverts commit ab595b0d55.
Release Notes:
- (preview only) Fixed a panic in completions
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user