diff options
| author | Maxime Coste <mawww@kakoune.org> | 2024-10-22 21:18:23 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2024-10-22 21:18:23 +1100 |
| commit | 50917b39ca410feac0f8dbf37b6db408aeedc2b8 (patch) | |
| tree | 7ec723bf865d5a2ab56cb7a98e64aaa5440d959f /src/parameters_parser.hh | |
| parent | ca7bc55cf5134b11451ca6b88d9fa0205bbaac66 (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/parameters_parser.hh')
| -rw-r--r-- | src/parameters_parser.hh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parameters_parser.hh b/src/parameters_parser.hh index f1ff8b73..1b91b6fc 100644 --- a/src/parameters_parser.hh +++ b/src/parameters_parser.hh @@ -40,9 +40,7 @@ struct wrong_argument_count : public parameter_error class Context; struct Completions; -enum class CompletionFlags; -using ArgCompleter = std::function<Completions (const Context&, CompletionFlags, - StringView, ByteCount)>; +using ArgCompleter = std::function<Completions (const Context&, StringView, ByteCount)>; struct SwitchDesc { |
