From 2a3910c1d9f2b05fe5bc0610e6a83e6dabe13b71 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Fri, 26 Mar 2021 16:02:13 +0900 Subject: wip: Async async. Delay response handling with a callback. --- helix-term/src/compositor.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'helix-term/src/compositor.rs') diff --git a/helix-term/src/compositor.rs b/helix-term/src/compositor.rs index 023f9b49..bd27f138 100644 --- a/helix-term/src/compositor.rs +++ b/helix-term/src/compositor.rs @@ -25,10 +25,13 @@ pub enum EventResult { use helix_view::{Editor, View}; +use crate::application::LspCallbacks; + pub struct Context<'a> { pub editor: &'a mut Editor, pub executor: &'static smol::Executor<'static>, pub scroll: Option, + pub callbacks: &'a mut LspCallbacks, } pub trait Component { -- cgit v1.2.3-70-g09d2