diff options
author | Blaž Hrastnik | 2022-03-20 06:50:48 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-20 07:03:13 +0000 |
commit | 7909d6f05e4d651d904886aa53ec4bd250294e73 (patch) | |
tree | 915d6196e9e091bf2a997507c7d5d770ac02bb82 /helix-term/src/commands.rs | |
parent | cfd992b1511655fc2116af4ddd1cd0dbb3bcb85e (diff) |
keymap: Store pending/sticky on the root level
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index f8a888e7..c7489810 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -2105,7 +2105,7 @@ pub fn command_palette(cx: &mut Context) { move |compositor: &mut Compositor, cx: &mut compositor::Context| { let doc = doc_mut!(cx.editor); let keymap = - compositor.find::<ui::EditorView>().unwrap().keymaps[&doc.mode].reverse_map(); + compositor.find::<ui::EditorView>().unwrap().keymaps.map[&doc.mode].reverse_map(); let mut commands: Vec<MappableCommand> = MappableCommand::STATIC_COMMAND_LIST.into(); commands.extend(typed::TYPABLE_COMMAND_LIST.iter().map(|cmd| { |