diff --git a/src/insert_completer.cc b/src/insert_completer.cc index f1ccf9ac..494fcd30 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -370,6 +370,8 @@ void InsertCompleter::select(int offset, Vector& keystrokes) if (not candidate.docstring.empty()) m_context.ui().info_show(candidate.completion, candidate.docstring, CharCoord{}, get_face("Information"), InfoStyle::MenuDoc); + else + m_context.ui().info_hide(); } for (auto i = 0_byte; i < prefix_len; ++i)