aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/keymap.rs
diff options
context:
space:
mode:
authorGokul Soumya2021-08-17 00:25:48 +0000
committerGitHub2021-08-17 00:25:48 +0000
commit14c08e855f6d0ebfbf1d7cb5d7010507ad3a5db6 (patch)
treea9a0ea3d0f9fbb61bc258be87e7f51a965126471 /helix-term/src/keymap.rs
parent27616153bc5117153f246e538bf32de226fa8fc9 (diff)
Refactor infobox rendering and parsing (#579)
Diffstat (limited to 'helix-term/src/keymap.rs')
-rw-r--r--helix-term/src/keymap.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/keymap.rs b/helix-term/src/keymap.rs
index 1267eca2..57bcb321 100644
--- a/helix-term/src/keymap.rs
+++ b/helix-term/src/keymap.rs
@@ -145,7 +145,7 @@ impl From<KeyTrieNode> for Info {
.map(|(desc, keys)| (desc.strip_prefix(&prefix).unwrap(), keys))
.collect();
}
- Info::key(node.name(), body)
+ Info::new(node.name(), body)
}
}