fix vim percent motion to better match the docs and observed behavior

This commit is contained in:
Kay Simmons 2023-02-17 14:52:36 -08:00
parent eac33d732e
commit 57a7ff9a6f
8 changed files with 150 additions and 78 deletions

View file

@ -2072,9 +2072,7 @@ fn assert_enclosing_bracket_pairs(
.collect::<Vec<_>>();
assert_set_eq!(
buffer
.enclosing_bracket_ranges(selection_range)
.collect::<Vec<_>>(),
buffer.bracket_ranges(selection_range).collect::<Vec<_>>(),
bracket_pairs
);
}