mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-11 16:07:00 +03:00
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:
parent
36a59e4482
commit
155cedc5c8
File diff suppressed because it is too large
Load Diff
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user