summaryrefslogtreecommitdiff
path: root/src/input_handler.cc
diff options
context:
space:
mode:
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 65405057..ff7e5ef2 100644
--- a/src/input_handler.cc
+++ b/src/input_handler.cc
@@ -1036,7 +1036,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)