vim: fix v$% (#10051)

Release Notes:

- vim: Fixed `%` in visual mode when at the end of a line.
65f0712713Conrad Irwin committed on 4/1/2024, 8:18:09 PM· committed by GitHubparent8b586ef
2 files changedLine totals unavailable