vim: Fix gv after indent/toggle comments (#17986)

Release Notes:

- vim: Fixed `gv` after > and < in visual mode
This commit is contained in:
Conrad Irwin
2024-09-18 08:19:06 -06:00
committed by GitHub
parent 3ac201e448
commit 1a62396b1e
5 changed files with 107 additions and 71 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ impl Vim {
);
starts.push(
map.buffer_snapshot
.anchor_after(selection.start.to_offset(&map, Bias::Right)),
.anchor_before(selection.start.to_offset(&map, Bias::Left)),
);
reversed.push(selection.reversed)
}