Skip to content

Commit

Permalink
Fixed delete case, I was comparing right side twice
Browse files Browse the repository at this point in the history
  • Loading branch information
ayax79 committed Oct 11, 2024
1 parent eae4c3b commit c1a83ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/edit_mode/vi/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ where
let _ = input.next();
match input.next() {
Some(c)
if is_valid_change_inside_right(c) || is_valid_change_inside_right(c) =>
if is_valid_change_inside_left(c) || is_valid_change_inside_right(c) =>
{
Some(Command::DeleteInside(*c))
}
Expand Down

0 comments on commit c1a83ad

Please sign in to comment.