summaryrefslogtreecommitdiff
path: root/src/input_handler.hh
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2024-10-22 21:18:23 +1100
committerMaxime Coste <mawww@kakoune.org>2024-10-22 21:18:23 +1100
commit50917b39ca410feac0f8dbf37b6db408aeedc2b8 (patch)
tree7ec723bf865d5a2ab56cb7a98e64aaa5440d959f /src/input_handler.hh
parentca7bc55cf5134b11451ca6b88d9fa0205bbaac66 (diff)
Remove now unused CompletionFlags
Since shell-script-completions now runs the script asynchronously and unconditionally, there is no use for the CompletionFlags::Fast anymore which means we can remove that type altogether.
Diffstat (limited to 'src/input_handler.hh')
-rw-r--r--src/input_handler.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_handler.hh b/src/input_handler.hh
index 54c5fd5b..32e9bfca 100644
--- a/src/input_handler.hh
+++ b/src/input_handler.hh
@@ -42,8 +42,7 @@ class InputMode;
enum class KeymapMode : char;
enum class CursorMode;
-using PromptCompleter = std::function<Completions (const Context&, CompletionFlags,
- StringView, ByteCount)>;
+using PromptCompleter = std::function<Completions (const Context&, StringView, ByteCount)>;
enum class InsertMode : unsigned
{
Insert,