diff options
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| { |