Remove useless background highlights code

This commit is contained in:
Kirill Bulatov 2023-09-14 22:08:02 +03:00
parent 396efec6e1
commit 9b43acfc88
5 changed files with 5 additions and 36 deletions

View file

@ -7823,6 +7823,7 @@ impl Editor {
color_fetcher: fn(&Theme) -> Color,
cx: &mut ViewContext<Self>,
) {
// TODO: no actual highlights happen for inlays currently, find a way to do that
self.inlay_background_highlights
.insert(Some(TypeId::of::<T>()), (color_fetcher, ranges));
cx.notify();