Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r--helix-term/src/ui/editor.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 6be56574..1fe8df99 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -1105,12 +1105,6 @@ impl EditorView {
}
on_next_key
}
-
- pub fn handle_idle_timeout(&mut self, cx: &mut commands::Context) -> EventResult {
- commands::compute_inlay_hints_for_all_views(cx.editor, cx.jobs);
-
- EventResult::Ignored(None)
- }
}
impl EditorView {
@@ -1516,7 +1510,7 @@ impl Component for EditorView {
}
Event::Mouse(event) => self.handle_mouse_event(event, &mut cx),
- Event::IdleTimeout => self.handle_idle_timeout(&mut cx),
+ Event::IdleTimeout => EventResult::Ignored(None),
Event::FocusGained => {
self.terminal_focused = true;
EventResult::Consumed(None)