diff --git a/crates/editor/src/code_context_menus.rs b/crates/editor/src/code_context_menus.rs index c84e021e0b..f498d24615 100644 --- a/crates/editor/src/code_context_menus.rs +++ b/crates/editor/src/code_context_menus.rs @@ -462,7 +462,9 @@ impl CompletionsMenu { len } - CompletionEntry::InlineCompletionHint(hint) => hint.label().chars().count(), + CompletionEntry::InlineCompletionHint(hint) => { + "Zed AI / ".chars().count() + hint.label().chars().count() + } }) .map(|(ix, _)| ix); drop(completions);