aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap/macros.rs
diff options
context:
space:
mode:
authorgibbz002023-05-31 21:40:02 +0000
committerBlaž Hrastnik2023-06-07 01:11:13 +0000
commitdaea97a89fb5e9b2678964974f68f92b129e2b57 (patch)
treef8bb24d398b0c549fc7e85369fe76861fcf36414 /helix-term/src/keymap/macros.rs
parenta56af221d73d2894ed081b351a0b5a239885ded7 (diff)
keymap: Rename KeyTrie::Leaf -> KeyTrie::MapppableCommand
The variant Sequence is technically also a leaf.
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