aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorGokul Soumya2021-11-04 18:33:31 +0000
committerBlaž Hrastnik2022-02-10 01:52:06 +0000
commitbf773db45171b59a758b7dabf9f10ffb8852dcf0 (patch)
tree1f472eeaf0f752d2d0af83aeb7b2931811e47e65 /helix-term/src/keymap.rs
parent5995568c1d23239a230d6e1bcbfc370e5c8cd287 (diff)
Show infobox with register contents
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index e5990d72..212b27a9 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -222,9 +222,8 @@ impl KeyTrieNode {
.map(|(desc, keys)| (desc.strip_prefix(&prefix).unwrap(), keys))
.collect();
}
- Info::new(self.name(), body)
+ Info::from_keymap(self.name(), body)
}
-
/// Get a reference to the key trie node's order.
pub fn order(&self) -> &[KeyEvent] {
self.order.as_slice()