haskell-language-server/test
Pepe Iborra b1d912af41
Limit completions to top 40 (#1218)
* Limit completions to top 20

We are overwhelming the LSP client by sending 100s of completions after the
first character. Instead, let's send 20 at a time and refresh for more when the
user types another word

* Simplify (thanks Neil!)

* Magic constant explained and increased to 40

* Add test

* Turn maxCompletions into config

* Fix some inaccuracies in tests

* document haskell.maxCompletions

* Fix another test

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-01-18 07:56:13 +00:00
..
functional Limit completions to top 40 (#1218) 2021-01-18 07:56:13 +00:00
testdata Test comment inside refactoring 2021-01-13 20:54:47 +01:00
utils/Test/Hls Delete unused utilities for controlling logging. (#764) 2021-01-06 09:11:28 +00:00
wrapper Rerun test suite to avoid flaky tests 2020-10-28 22:26:43 +01:00