VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.73k stars 1.31k forks source link

Fix 7397 dot with numbered registers #9120

Closed SirTomme closed 1 month ago

SirTomme commented 2 months ago

What this PR does / why we need it:

It fixes #7397 and adds three tests for this.

Which issue(s) this PR fixes

7397

Special notes for your reviewer: Hi there I am happy to make my first contribution to this amazing project!

I implemented the fix for all commands that start with a (numbered) CommandRegister action. I could not think of or find a dot repeatable command that has a numbered register in it but does not not start with it. If there is one, please let me know.

BTW: is there a way to filter tests? I do not want to run all tests while I'm trying to fix a small bug 😉

J-Fields commented 1 month ago

BTW: is there a way to filter tests? I do not want to run all tests while I'm trying to fix a small bug 😉

See newTestOnly