Ensure that the completion list disappears when no valid completions can be found, but re-appears when some are. This involves removing the "is popup visible?" clause that protects the call to complete().
author Simon St James
()
committer Simon St James
()
commit df6a4b709652c945536eb65df04af06cfd567b84
tree 50df1aed24e0ff27e6a04312c6e31e5cb8f4129a
parent cfccdd72843c1b68c0514ee84a55c5c76a7b297f
Ensure that the completion list disappears when no valid completions can be found, but re-appears when some are. This involves removing the "is popup visible?" clause that protects the call to complete().

As a side effect of this, the popup can become visible whenever the emulated command bar is summoned; to prevent this, only call updateCompletionPrefix() when m_currentCompletionType is not None, and set it to None whenever the bar is summoned.
part/vimode/kateviemulatedcommandbar.cpp
part/vimode/kateviemulatedcommandbar.h
tests/vimode_test.cpp