Use user-supplied autoshowcompl option's value.
This commit is contained in:
parent
f9c48237a7
commit
ddc846cf89
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user