diff --git a/crates/editor2/src/hover_popover.rs b/crates/editor2/src/hover_popover.rs index e7980758e046cda1adb4c6eb43ff272f864c92b9..37c7df650b126c859c28339a09077a96f4844bf2 100644 --- a/crates/editor2/src/hover_popover.rs +++ b/crates/editor2/src/hover_popover.rs @@ -118,7 +118,7 @@ pub fn hover_at_inlay(editor: &mut Editor, inlay_hover: InlayHover, cx: &mut Vie // Highlight the selected symbol using a background highlight this.highlight_inlay_background::( vec![inlay_hover.range], - |theme| gpui::red(), // todo!("use a proper background here") + |theme| theme.element_hover, // todo!("use a proper background here") cx, ); this.hover_state.info_popover = Some(hover_popover);