diff options
author | Blaž Hrastnik | 2022-03-20 06:50:48 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-20 07:03:13 +0000 |
commit | 7909d6f05e4d651d904886aa53ec4bd250294e73 (patch) | |
tree | 915d6196e9e091bf2a997507c7d5d770ac02bb82 /helix-term/src/config.rs | |
parent | cfd992b1511655fc2116af4ddd1cd0dbb3bcb85e (diff) |
keymap: Store pending/sticky on the root level
Diffstat (limited to 'helix-term/src/config.rs')
-rw-r--r-- | helix-term/src/config.rs | 2 |
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, |