diff options
author | Pascal Kuthe | 2023-02-09 02:24:31 +0000 |
---|---|---|
committer | GitHub | 2023-02-09 02:24:31 +0000 |
commit | e474779c8729c36335b76badc98d8211829122d2 (patch) | |
tree | 8543a76fca8dfcfe6988e195c6af01b431da3af7 /helix-term/src/ui/editor.rs | |
parent | bd14f5a72cec6932cf1792d62e420349eaec60db (diff) |
bump msrv to 1.63 (#5570)
* bump msrv to 1.63
* resolve new complex type clippy lints
Diffstat (limited to 'helix-term/src/ui/editor.rs')
-rw-r--r-- | helix-term/src/ui/editor.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index f297b44e..493f8d50 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -1,5 +1,5 @@ use crate::{ - commands, + commands::{self, OnKeyCallback}, compositor::{Component, Context, Event, EventResult}, job::{self, Callback}, key, @@ -37,7 +37,7 @@ use super::{document::LineDecoration, lsp::SignatureHelp}; pub struct EditorView { pub keymaps: Keymaps, - on_next_key: Option<Box<dyn FnOnce(&mut commands::Context, KeyEvent)>>, + on_next_key: Option<OnKeyCallback>, pseudo_pending: Vec<KeyEvent>, last_insert: (commands::MappableCommand, Vec<InsertEvent>), pub(crate) completion: Option<Completion>, |