diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-01-27 00:44:07 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-01-27 13:12:52 +0000 |
| commit | fb98ff652dbe48d51a53f96c5ff99c09fff008bb (patch) | |
| tree | 14183cfae64208009cd82371159e4154a0783313 /src | |
| parent | 2c425bb4364ba6005fe9e96011511977cdacc63b (diff) | |
Keep all completion matches when selecting a candidate
Diffstat (limited to 'src')
| -rw-r--r-- | src/insert_completer.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/insert_completer.cc b/src/insert_completer.cc index bcfca6dc..9d9bc7cd 100644 --- a/src/insert_completer.cc +++ b/src/insert_completer.cc @@ -282,11 +282,6 @@ void InsertCompleter::select(int offset) m_context.ui().info_show(candidate.first, candidate.second, CharCoord{}, get_face("Information"), InfoStyle::MenuDoc); } - // when we select a match, remove non displayed matches from the candidates - // which are considered as invalid with the new completion timestamp - m_completions.candidates.clear(); - std::copy(m_matching_candidates.begin(), m_matching_candidates.end()-1, - std::back_inserter(m_completions.candidates)); } void InsertCompleter::update() |
