summaryrefslogtreecommitdiff
path: root/src/completion.cc
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/completion.cc
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/completion.cc')
-rw-r--r--src/completion.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/completion.cc b/src/completion.cc
index 60e79e07..c44319d8 100644
--- a/src/completion.cc
+++ b/src/completion.cc
@@ -8,8 +8,7 @@
namespace Kakoune
{
-Completions shell_complete(const Context& context, CompletionFlags flags,
- StringView prefix, ByteCount cursor_pos)
+Completions shell_complete(const Context& context, StringView prefix, ByteCount cursor_pos)
{
ByteCount word_start = 0;
ByteCount word_end = 0;