diff --git a/src/command_manager.hh b/src/command_manager.hh index 454ff95e..415b3530 100644 --- a/src/command_manager.hh +++ b/src/command_manager.hh @@ -16,10 +16,6 @@ namespace Kakoune struct Context; -struct wrong_argument_count : runtime_error -{ - wrong_argument_count() : runtime_error("wrong argument count") {} -}; using CommandParameters = memoryview; diff --git a/src/commands.cc b/src/commands.cc index 5c1146fb..d862a61a 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -33,6 +33,11 @@ extern bool quit_requested; namespace { +struct wrong_argument_count : runtime_error +{ + wrong_argument_count() : runtime_error("wrong argument count") {} +}; + struct unknown_option : public runtime_error { unknown_option(const String& name)