summaryrefslogtreecommitdiff
path: root/src/command_manager.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_manager.hh')
-rw-r--r--src/command_manager.hh12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/command_manager.hh b/src/command_manager.hh
index fc3d81f3..e46c5a77 100644
--- a/src/command_manager.hh
+++ b/src/command_manager.hh
@@ -7,7 +7,7 @@
#include <functional>
#include "exception.hh"
-
+#include "completion.hh"
namespace Kakoune
{
@@ -20,16 +20,6 @@ struct wrong_argument_count : runtime_error
typedef std::vector<std::string> CommandParameters;
typedef std::function<void (const CommandParameters&)> Command;
-struct Completions
-{
- CommandParameters candidates;
- size_t start;
- size_t end;
-
- Completions(size_t start, size_t end)
- : start(start), end(end) {}
-};
-
class CommandManager
{
public: