From 355ad3cb8289611b06cd42fa62ddfe0a5c716e83 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 6 May 2021 13:56:34 +0900 Subject: Tokio migration. --- helix-term/src/ui/editor.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'helix-term/src/ui/editor.rs') diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 041096d6..49024226 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -207,7 +207,7 @@ impl EditorView { }); let style = if is_diagnostic { - style.clone().add_modifier(Modifier::UNDERLINED) + style.add_modifier(Modifier::UNDERLINED) } else { style }; @@ -569,7 +569,6 @@ impl Component for EditorView { let mut cx = Context { editor: cxt.editor, callbacks: cxt.callbacks, - executor: cx.executor, scroll: None, }; let res = completion.handle_event(event, &mut cx); -- cgit v1.2.3-70-g09d2