summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorDelapouite <delapouite@gmail.com>2018-04-06 16:56:53 +0200
committerDelapouite <delapouite@gmail.com>2018-04-06 16:56:53 +0200
commitcb02186c77e307922a92176893d8a323641dacaf (patch)
tree5e363e2adf794ff74fc00a96d4d01abff950b540 /src/input_handler.cc
parent4ff0c58518228ab114bf1167c14dadc6ee2212c3 (diff)
Make error messages more consistent
Diffstat (limited to 'src/input_handler.cc')
-rw-r--r--src/input_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_handler.cc b/src/input_handler.cc
index f95fff6c..07909d60 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1127,7 +1127,7 @@ public:
else if (key == Key::Escape or key == ctrl('c'))
{
if (m_in_end)
- throw runtime_error("Asked to exit insert mode while running InsertEnd hook");
+ throw runtime_error("asked to exit insert mode while running InsertEnd hook");
m_in_end = true;
context().hooks().run_hook("InsertEnd", "", context());