diff options
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r-- | helix-term/src/ui/editor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 7d97c2ba..b55a830e 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -621,7 +621,7 @@ impl Component for EditorView { count: None, callback: None, on_next_key_callback: None, - callbacks: cx.callbacks, + jobs: cx.jobs, }; if let Some(on_next_key) = self.on_next_key.take() { @@ -639,7 +639,7 @@ impl Component for EditorView { // use a fake context here let mut cx = Context { editor: cxt.editor, - callbacks: cxt.callbacks, + jobs: cxt.jobs, scroll: None, }; let res = completion.handle_event(event, &mut cx); |