diff options
| author | Johannes Altmanninger <aclopte@gmail.com> | 2023-02-12 20:51:28 +0100 |
|---|---|---|
| committer | Johannes Altmanninger <aclopte@gmail.com> | 2023-02-17 20:50:58 +0100 |
| commit | 213ea922b16bf95c5b441ce2cae2de6d221f638a (patch) | |
| tree | 96cc2e01ea2702c7e9c480e5bee6538fefb6b816 /src/input_handler.cc | |
| parent | 9e0502a1ca234bd20e17f078e75c3d5da4687a82 (diff) | |
Complete arguments to "echo -to-file"
Including this here because grandparent parent commit broke completions
for "edit -fifo".
Diffstat (limited to 'src/input_handler.cc')
| -rw-r--r-- | src/input_handler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc index 2564529a..69ef3385 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -941,7 +941,7 @@ public: { on_next_key_with_autoinfo(context(), "explicit-completion", KeymapMode::None, [this](Key key, Context&) { - m_explicit_completer = PromptCompleter{}; + m_explicit_completer = ArgCompleter{}; if (key.key == 'f') use_explicit_completer([](const Context& context, StringView token) { @@ -968,7 +968,7 @@ public: } else if (key == ctrl('o')) { - m_explicit_completer = PromptCompleter{}; + m_explicit_completer = ArgCompleter{}; m_auto_complete = not m_auto_complete; if (m_auto_complete) |
