vim: Fix panic when pasting in read-only editor (#55608)

Fixes ZED-73F

Release Notes:

- N/A or Added/Fixed/Improved ...
8a8293b3bdLukas Wirth committed on 5/4/2026, 10:17:14 AM· committed by GitHubparent62a1e89
1 file changedLine totals unavailable