Fix register selection in visual mode (#18418)

Related to #12895

Release Notes:

- vim: Fix register selection in visual yank
This commit is contained in:
Conrad Irwin
2024-09-26 20:27:49 -06:00
committed by GitHub
parent c83d007138
commit 32605e9ea4
3 changed files with 10 additions and 1 deletions
+3
View File
@@ -673,6 +673,9 @@ mod test {
cx.simulate_shared_keystrokes("\" _ d d").await;
cx.shared_register('_').await.assert_eq("");
cx.simulate_shared_keystrokes("shift-v \" _ y w").await;
cx.shared_register('"').await.assert_eq("jumps");
cx.shared_state().await.assert_eq(indoc! {"
The quick brown
the ˇlazy dog"});