summaryrefslogtreecommitdiff
path: root/src/insert_completer.hh
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 /src/insert_completer.hh
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 'src/insert_completer.hh')
-rw-r--r--src/insert_completer.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/insert_completer.hh b/src/insert_completer.hh
index cce433a2..3d5f2ca6 100644
--- a/src/insert_completer.hh
+++ b/src/insert_completer.hh
@@ -78,7 +78,7 @@ public:
InsertCompleter& operator=(const InsertCompleter&) = delete;
~InsertCompleter();
- void select(int index, bool relative, Vector<Key>& keystrokes);
+ void select(int index, bool relative, Vector<Key>* keystrokes);
void update(bool allow_implicit);
void try_accept();
void reset();