summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-07-22 17:43:37 +1000
committerMaxime Coste <mawww@kakoune.org>2024-07-22 20:22:14 +1000
commite938d724f16ef06cbc97a4fedc20d56edf34e7f2 (patch)
treebc5828353bdc26259b59bf6eadf8e7bb08b9f062 /src/main.cc
parent6f562aa0add09092d390f7ea2691959490234ed0 (diff)
Handle word completion when recording macros
Make last insert and macro recording closer together, paving the way towards moving last insert to a register. Use a FunctionRef for insert completer key insertion support.
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc
index f2e31cab..e86ffae3 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -985,7 +985,7 @@ int run_filter(StringView keystr, ConstArrayView<StringView> files, bool quiet,
};
for (auto& key : keys)
- input_handler.handle_key(key);
+ input_handler.handle_key(key, true);
}
catch (runtime_error& err)
{