From 6ad14b58e60e14f210354dad86d41c65d684c5e8 Mon Sep 17 00:00:00 2001 From: Adam Schmalhofer Date: Thu, 20 Jun 2024 23:22:59 +0200 Subject: [PATCH] Made `cargo fmt --call` clean --- src/edit_mode/vi/parser.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/edit_mode/vi/parser.rs b/src/edit_mode/vi/parser.rs index 1bc9e197..d3d9289d 100644 --- a/src/edit_mode/vi/parser.rs +++ b/src/edit_mode/vi/parser.rs @@ -565,7 +565,10 @@ mod tests { #[case(&['d'], ReedlineEvent::Multiple(vec![ ReedlineEvent::Edit(vec![EditCommand::CutSelection])]))] fn test_reedline_move_in_visual_mode(#[case] input: &[char], #[case] expected: ReedlineEvent) { - let mut vi = Vi { mode: ViMode::Visual, ..Default::default()}; + let mut vi = Vi { + mode: ViMode::Visual, + ..Default::default() + }; let res = vi_parse(input); let output = res.to_reedline_event(&mut vi);