diff options
| author | Maxime Coste <mawww@kakoune.org> | 2017-12-21 12:55:29 +1100 |
|---|---|---|
| committer | Maxime Coste <mawww@kakoune.org> | 2017-12-21 12:55:29 +1100 |
| commit | 9b83589b1806e0e7ded76cf1c94396e376289222 (patch) | |
| tree | 4d876258fdb9d25fa16290061eb24b1a6f45397d /src/input_handler.cc | |
| parent | a38d6cc3f0a495894a4699d1bfd9f57545382f95 (diff) | |
Completion: Use a heap to gather the best matches instead of sorting
Generalize the behaviour of `shell-candidates` to insert completion,
gather the best 100 matches by using a heap and poping max a hundred
times.
Diffstat (limited to 'src/input_handler.cc')
0 files changed, 0 insertions, 0 deletions
