diff --git a/Cargo.lock b/Cargo.lock index f89cbe218..3ac7bd17f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1416,7 +1416,7 @@ version = "0.13.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" dependencies = [ - "ahash", + "ahash 0.8.3", ] [[package]] @@ -1484,7 +1484,7 @@ dependencies = [ name = "helix-event" version = "0.6.0" dependencies = [ - "ahash", + "ahash 0.8.3", "anyhow", "futures-executor", "hashbrown 0.13.2", diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs index 80bd014f1..4ba5c2596 100644 --- a/helix-term/src/application.rs +++ b/helix-term/src/application.rs @@ -255,7 +255,7 @@ impl Application { register: None, count: std::num::NonZeroUsize::new(1), editor: &mut app.editor, - callback: None, + callback: Vec::new(), on_next_key_callback: None, jobs: &mut app.jobs, }; diff --git a/helix-term/src/commands/engine/components.rs b/helix-term/src/commands/engine/components.rs index b4bd40c87..1dca2a850 100644 --- a/helix-term/src/commands/engine/components.rs +++ b/helix-term/src/commands/engine/components.rs @@ -93,7 +93,7 @@ pub fn helix_component_module() -> BuiltInModule { register: None, count: None, editor: cx.editor, - callback: None, + callback: Vec::new(), on_next_key_callback: None, jobs: cx.jobs, }; @@ -348,7 +348,7 @@ impl Component for SteelDynamicComponent { register: None, count: None, editor: ctx.editor, - callback: None, + callback: Vec::new(), on_next_key_callback: None, jobs: ctx.jobs, }; @@ -395,7 +395,7 @@ impl Component for SteelDynamicComponent { register: None, count: None, editor: ctx.editor, - callback: None, + callback: Vec::new(), on_next_key_callback: None, jobs: ctx.jobs, }; diff --git a/helix-term/src/commands/engine/scheme.rs b/helix-term/src/commands/engine/scheme.rs index f214eaaa4..0d4038589 100644 --- a/helix-term/src/commands/engine/scheme.rs +++ b/helix-term/src/commands/engine/scheme.rs @@ -306,7 +306,7 @@ impl super::PluginSystem for SteelScriptingEngine { register: None, count: std::num::NonZeroUsize::new(1), editor: cx.editor, - callback: None, + callback: Vec::new(), on_next_key_callback: None, jobs: cx.jobs, }; @@ -1017,7 +1017,7 @@ fn configure_engine() -> std::rc::Rc