Rework SuggestionMap to take highlight style when retrieving chunks
This commit is contained in:
committed by
Mikayla Maki
parent
093e0a30e9
commit
6715e5247c
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user