Fix panic in vim selection restoration (#29251)

Closes #27986

Closes #ISSUE

Release Notes:

- vim: Fixed a panic when using `gv` after `p` in visual line mode
This commit is contained in:
Conrad Irwin 2025-04-22 22:28:13 -06:00 committed by GitHub
parent 4a8f114528
commit 5e31d86f1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 46 additions and 4 deletions

View file

@ -0,0 +1,11 @@
{"Put":{"state":"The\nquicˇk\nbrown\nfox"}}
{"Key":"y"}
{"Key":"y"}
{"Key":"j"}
{"Key":"shift-v"}
{"Key":"p"}
{"Key":"g"}
{"Key":"v"}
{"Key":"y"}
{"Get":{"state":"The\nquick\nˇquick\nfox","mode":"Normal"}}
{"ReadRegister":{"name":"\"","value":"quick\n"}}