summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-03-23 16:25:32 +1100
committerMaxime Coste <mawww@kakoune.org>2024-03-23 16:29:03 +1100
commit6e4bb5fbc5bc01c9143e40e3f4cb5b48efb020ec (patch)
tree2b8a3776b508d0f43daae0e1aad2de58291372c7 /test
parent71b003b6841f2b5a04f12a5677db729b3d24ce44 (diff)
Refactor last insert recording logic
Only record non-synthetized insertions, removing the need to re-record on replay and fixing the last replay getting dropped by macro execution. Fixes #5122
Diffstat (limited to 'test')
-rw-r--r--test/regression/5122-dot-fails-after-macro-replay/cmd1
-rw-r--r--test/regression/5122-dot-fails-after-macro-replay/in1
-rw-r--r--test/regression/5122-dot-fails-after-macro-replay/out1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/regression/5122-dot-fails-after-macro-replay/cmd b/test/regression/5122-dot-fails-after-macro-replay/cmd
new file mode 100644
index 00000000..6a683560
--- /dev/null
+++ b/test/regression/5122-dot-fails-after-macro-replay/cmd
@@ -0,0 +1 @@
+QA?<esc>Qq.
diff --git a/test/regression/5122-dot-fails-after-macro-replay/in b/test/regression/5122-dot-fails-after-macro-replay/in
new file mode 100644
index 00000000..8b137891
--- /dev/null
+++ b/test/regression/5122-dot-fails-after-macro-replay/in
@@ -0,0 +1 @@
+
diff --git a/test/regression/5122-dot-fails-after-macro-replay/out b/test/regression/5122-dot-fails-after-macro-replay/out
new file mode 100644
index 00000000..be108529
--- /dev/null
+++ b/test/regression/5122-dot-fails-after-macro-replay/out
@@ -0,0 +1 @@
+???