zeta: Improve UX for simultaneous LSP and prediction completions (#24024)

Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <michael@zed.dev>
Co-authored-by: Danilo <danilo@zed.dev>
Co-authored-by: Richard <richard@zed.dev>
This commit is contained in:
Agus Zubiaga
2025-02-03 21:47:11 -03:00
committed by GitHub
co-authored by Michael Sloan Danilo Richard
parent b6e680ea3d
commit 4c29e1ff07
16 changed files with 1196 additions and 762 deletions
+2 -2
View File
@@ -304,8 +304,8 @@ fn assert_editor_active_move_completion(
.as_ref()
.expect("editor has no active completion");
if let InlineCompletion::Move(anchor) = &completion_state.completion {
assert(editor.buffer().read(cx).snapshot(cx), *anchor);
if let InlineCompletion::Move { target, .. } = &completion_state.completion {
assert(editor.buffer().read(cx).snapshot(cx), *target);
} else {
panic!("expected move completion");
}