Fix broken indentation that causes the indentation tests to fail.

For some reason, `cargo fmt` does not change the indentation in
these places (maybe it isn't sure about what the correct formatting
should be).
This commit is contained in:
Daniel Ebert 2023-08-03 15:24:46 +02:00 committed by Blaž Hrastnik
parent 36a59e4482
commit 155cedc5c8
2 changed files with 602 additions and 602 deletions

File diff suppressed because it is too large Load Diff

View File

@ -401,14 +401,14 @@ fn check_duplicate_keys_in_default_keymap() {
fn merge_partial_keys() {
let keymap = hashmap! {
Mode::Normal => keymap!({ "Normal mode"
"i" => normal_mode,
"" => insert_mode,
"z" => jump_backward,
"g" => { "Merge into goto mode"
"$" => goto_line_end,
"g" => delete_char_forward,
},
})
"i" => normal_mode,
"" => insert_mode,
"z" => jump_backward,
"g" => { "Merge into goto mode"
"$" => goto_line_end,
"g" => delete_char_forward,
},
})
};
let mut merged_keyamp = default();
merge_keys(&mut merged_keyamp, keymap.clone());
@ -474,13 +474,13 @@ fn merge_partial_keys() {
fn order_should_be_set() {
let keymap = hashmap! {
Mode::Normal => keymap!({ "Normal mode"
"space" => { ""
"s" => { ""
"v" => vsplit,
"c" => hsplit,
},
"space" => { ""
"s" => { ""
"v" => vsplit,
"c" => hsplit,
},
})
},
})
};
let mut merged_keyamp = default();
merge_keys(&mut merged_keyamp, keymap.clone());