diff options
author | Blaž Hrastnik | 2021-03-26 07:02:13 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-03-26 08:12:45 +0000 |
commit | 2a3910c1d9f2b05fe5bc0610e6a83e6dabe13b71 (patch) | |
tree | 5e2c94eec0c168d14b1478a07110230b3be1c7fe /helix-term/src/compositor.rs | |
parent | ad3325db8e6dce3a10b9f8e0319ab9814c7ade1b (diff) |
wip: Async async. Delay response handling with a callback.
Diffstat (limited to 'helix-term/src/compositor.rs')
-rw-r--r-- | helix-term/src/compositor.rs | 3 |
1 files changed, 3 insertions, 0 deletions
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<usize>, + pub callbacks: &'a mut LspCallbacks, } pub trait Component { |