diff --git a/src/normal.cc b/src/normal.cc index 8e65d9f5..1b83ec8b 100644 --- a/src/normal.cc +++ b/src/normal.cc @@ -419,7 +419,7 @@ void for_each_codepoint(Context& context, NormalParams) void command(Context& context, NormalParams params) { if (not CommandManager::has_instance()) - return; + throw runtime_error{"commands are not supported"}; CommandManager::instance().clear_last_complete_command();