summaryrefslogtreecommitdiff
path: root/src/normal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.cc')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
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();