fix(pickers): sorting_strategy=asc stale result clearing (#3298)
With `sorting_strategy='ascending'`, the results buffer should never have lines beyond the `max_results` count OR the number of available results, whichever is smaller. closes #3282
This commit is contained in:
14
lua/tests/fixtures/live_grep/a.txt
vendored
Normal file
14
lua/tests/fixtures/live_grep/a.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
abc
|
||||
abc
|
||||
abc
|
||||
abc
|
||||
abc
|
||||
|
||||
|
||||
abcd
|
||||
abcd
|
||||
abcd
|
||||
abcd
|
||||
abcd
|
||||
|
||||
abcde
|
||||
Reference in New Issue
Block a user