aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap/macros.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/keymap/macros.rs')
-rw-r--r--helix-term/src/keymap/macros.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/keymap/macros.rs b/helix-term/src/keymap/macros.rs
index c4a1bfbb..b2822069 100644
--- a/helix-term/src/keymap/macros.rs
+++ b/helix-term/src/keymap/macros.rs
@@ -81,7 +81,7 @@ macro_rules! alt {
#[macro_export]
macro_rules! keymap {
(@trie $cmd:ident) => {
- $crate::keymap::KeyTrie::Leaf($crate::commands::MappableCommand::$cmd)
+ $crate::keymap::KeyTrie::MappableCommand($crate::commands::MappableCommand::$cmd)
};
(@trie