diff options
author | gibbz00 | 2023-05-31 21:40:02 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2023-06-07 01:11:13 +0000 |
commit | daea97a89fb5e9b2678964974f68f92b129e2b57 (patch) | |
tree | f8bb24d398b0c549fc7e85369fe76861fcf36414 /helix-term/src/keymap | |
parent | a56af221d73d2894ed081b351a0b5a239885ded7 (diff) |
keymap: Rename KeyTrie::Leaf -> KeyTrie::MapppableCommand
The variant Sequence is technically also a leaf.
Diffstat (limited to 'helix-term/src/keymap')
-rw-r--r-- | helix-term/src/keymap/macros.rs | 2 |
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 |