aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/config.rs')
-rw-r--r--helix-term/src/config.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs
index 6b8bbc1b..1c6289ec 100644
--- a/helix-term/src/config.rs
+++ b/helix-term/src/config.rs
@@ -43,7 +43,7 @@ mod tests {
assert_eq!(
toml::from_str::<Config>(sample_keymaps).unwrap(),
Config {
- keys: Keymaps(hashmap! {
+ keys: Keymaps::new(hashmap! {
Mode::Insert => Keymap::new(keymap!({ "Insert mode"
"y" => move_line_down,
"S-C-a" => delete_selection,