summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-03-03 16:51:29 +0000
committerMaxime Coste <mawww@kakoune.org>2017-03-03 20:16:36 +0000
commite3cfde6d07cc8b52b46745609c18b3dc79883511 (patch)
tree8d0cb753c8b2ad3ed36cc9141b0f5746accea153 /src/input_handler.cc
parent7d487e3b4cd32d0f9d031f258bf080ac43efdc68 (diff)
Add docstring support for mappings, and use them in autoinfo
Fixes #105 Fixes #1100 Closes #1165
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 3c72e66d..30851fdb 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1453,7 +1453,7 @@ void InputHandler::handle_key(Key key)
not m_context.keymaps_disabled())
{
ScopedSetBool disable_history{context().history_disabled()};
- for (auto& k : keymaps.get_mapping(key, keymap_mode))
+ for (auto& k : keymaps.get_mapping(key, keymap_mode).keys)
current_mode().handle_key(k);
}
else