diff options
author | Blaž Hrastnik | 2021-05-06 04:56:34 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-05-06 04:56:34 +0000 |
commit | 355ad3cb8289611b06cd42fa62ddfe0a5c716e83 (patch) | |
tree | 7c94da6e122a9ecf542103b46a3ca9e80654a52e /helix-term/src/ui | |
parent | 0e5308bce1a6e7d7d00854ae50902546cea9578d (diff) |
Tokio migration.
Diffstat (limited to 'helix-term/src/ui')
-rw-r--r-- | helix-term/src/ui/editor.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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); |