diff options
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); |