From ddc846cf89297bd3f0d59640e00c3d77df2046d3 Mon Sep 17 00:00:00 2001 From: nuao Date: Sat, 17 Jun 2017 18:07:45 +0100 Subject: [PATCH] Use user-supplied autoshowcompl option's value. --- src/input_handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()}, m_idle_timer{TimePoint::max(), context().flags() & Context::Flags::Transient ? Timer::Callback{} : [this](Timer&) { if (m_autoshowcompl)