zeta: Always show ghost text, even if showing completion in menu (#22194)
See:  https://github.com/user-attachments/assets/165d9f0d-8339-4fd9-a796-a67121689af6 Release Notes: - N/A Co-authored-by: Danilo <danilo@zed.dev>
This commit is contained in:
parent
b93cee8d27
commit
2a17274ec2
2 changed files with 26 additions and 40 deletions
|
@ -575,7 +575,7 @@ impl CompletionsMenu {
|
|||
}
|
||||
CompletionEntry::InlineCompletionHint(hint) => match &hint.text {
|
||||
InlineCompletionText::Edit { text, highlights } => div()
|
||||
.my_1()
|
||||
.mx_1()
|
||||
.rounded(px(6.))
|
||||
.bg(cx.theme().colors().editor_background)
|
||||
.border_1()
|
||||
|
@ -594,7 +594,7 @@ impl CompletionsMenu {
|
|||
multiline_docs
|
||||
.id("multiline_docs")
|
||||
.max_h(max_height)
|
||||
.px_0p5()
|
||||
.px_2()
|
||||
.min_w(px(260.))
|
||||
.max_w(MAX_COMPLETIONS_ASIDE_WIDTH)
|
||||
.overflow_y_scroll()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue