summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-06-23 10:20:34 +0100
committerMaxime Coste <mawww@kakoune.org>2017-06-23 10:20:34 +0100
commit430e4495f065b5be73a8d860b39f3d4f66671143 (patch)
treea9e4331725a7d55e5afd593f5a88bd07f4fb5b0a /src/input_handler.cc
parent9d4f5a49e0b5a86870ddae9b854b2dc46ab71335 (diff)
parent4da5426e2ad94a7f15cdfb78f77b830277c8e26f (diff)
Merge remote-tracking branch 'nuao/autoshowcompl_opt'
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 41a4df31..1ac60905 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1046,7 +1046,7 @@ public:
m_restore_cursor(mode == InsertMode::Append),
m_edition(context()),
m_completer(context()),
- m_autoshowcompl(true),
+ m_autoshowcompl{context().options()["autoshowcompl"].get<bool>()},
m_idle_timer{TimePoint::max(), context().flags() & Context::Flags::Transient ?
Timer::Callback{} : [this](Timer&) {
if (m_autoshowcompl)