mirror of
https://github.com/mawww/kakoune.git
synced 2024-11-27 12:16:22 +03:00
Keep all completion matches when selecting a candidate
This commit is contained in:
parent
2c425bb436
commit
fb98ff652d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user