vim: Fix :g/pattern/norm commands applying on all matches (#43352)

Closes #36359

Release Notes:

- Fixes bug where `:g/pattern/norm commands` would only apply on the
last match

---------

Co-authored-by: dino <dinojoaocosta@gmail.com>
This commit is contained in:
AidanV
2026-01-06 10:47:06 -05:00
committed by GitHub
parent 9a50bd4408
commit c32abbdfb7
3 changed files with 138 additions and 24 deletions
@@ -62,3 +62,17 @@
{"Key":"u"}
{"Key":"enter"}
{"Get":{"state":"ˇThe quick\nbrown fox\njumps over\nthe lazy dog\n","mode":"Normal"}}
{"Put":{"state":"The« quick\nbrownˇ» fox\njumps over\nthe lazy dog\n"}}
{"Key":":"}
{"Key":"n"}
{"Key":"o"}
{"Key":"r"}
{"Key":"m"}
{"Key":"space"}
{"Key":"I"}
{"Key":"1"}
{"Key":"2"}
{"Key":"3"}
{"Key":"enter"}
{"Key":"u"}
{"Get":{"state":"ˇThe quick\nbrown fox\njumps over\nthe lazy dog\n","mode":"Normal"}}