vim: Fix visual line yank on newline char (#28005)

Problem:
When yanking in visual line on the newline char, the next line gets
yanked as well:


https://github.com/user-attachments/assets/40f332dd-19f5-445f-a30f-39d50167c46f

Changes:
Similar to visual delete, exclude the newline char from the selection in
line mode.

Release Notes:

- vim: Fixed visual line yank while on the newline character yanking
following line
ea33d78ae45brian committed on 4/8/2025, 3:15:34 PM· committed by GitHubparente36a2f2
2 files changedLine totals unavailable