changeset 6680:4496367bd756

fix(keymap): point to proper `MappableCommand` instead of `Command` (#13214)
author RoloEdits <RoloEdits@gmail.com>
date Fri, 28 Mar 2025 06:51:36 -0700
parents e6086f66adb6
children 1a4d4ef9110e
files helix-term/src/keymap/macros.rs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/helix-term/src/keymap/macros.rs	Thu Mar 27 17:00:23 2025 +0000
+++ b/helix-term/src/keymap/macros.rs	Fri Mar 28 06:51:36 2025 -0700
@@ -90,7 +90,7 @@
     };
 
     (@trie [$($cmd:ident),* $(,)?]) => {
-        $crate::keymap::KeyTrie::Sequence(vec![$($crate::commands::Command::$cmd),*])
+        $crate::keymap::KeyTrie::Sequence(vec![$($crate::commands::MappableCommand::$cmd),*])
     };
 
     (