diff --git a/src/input_handler.cc b/src/input_handler.cc index bcccdb55..80d2c314 100644 --- a/src/input_handler.cc +++ b/src/input_handler.cc @@ -972,9 +972,9 @@ public: m_autoshowcompl(true), m_idle_timer{TimePoint::max(), [this](Timer& timer) { - context().hooks().run_hook("InsertIdle", "", context()); if (m_autoshowcompl) m_completer.update(); + context().hooks().run_hook("InsertIdle", "", context()); }}, m_disable_hooks{context().user_hooks_disabled()} {