Rework SuggestionMap
to take highlight style when retrieving chunks
This commit is contained in:
parent
093e0a30e9
commit
6715e5247c
9 changed files with 95 additions and 73 deletions
|
@ -2753,10 +2753,6 @@ impl Editor {
|
|||
Some(Suggestion {
|
||||
position,
|
||||
text: completion.text.as_str().into(),
|
||||
highlight_style: HighlightStyle {
|
||||
color: Some(Color::from_u32(0x777777ff)),
|
||||
..Default::default()
|
||||
},
|
||||
}),
|
||||
cx,
|
||||
)
|
||||
|
@ -2779,10 +2775,6 @@ impl Editor {
|
|||
Some(Suggestion {
|
||||
position,
|
||||
text: completion.text.as_str().into(),
|
||||
highlight_style: HighlightStyle {
|
||||
color: Some(Color::from_u32(0x777777ff)),
|
||||
..Default::default()
|
||||
},
|
||||
}),
|
||||
cx,
|
||||
)
|
||||
|
@ -2813,10 +2805,6 @@ impl Editor {
|
|||
Some(Suggestion {
|
||||
position: self.copilot_state.position,
|
||||
text: completion.text.as_str().into(),
|
||||
highlight_style: HighlightStyle {
|
||||
color: Some(Color::from_u32(0x777777ff)),
|
||||
..Default::default()
|
||||
},
|
||||
}),
|
||||
cx,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue