Treat ale_open_list integer values as thresholds (#4050)

Only open list window if the number of warnings or errors equals to or
exceeds the value of ale_open_list. No change when set to `1`.

Co-authored-by: cos <cos>
This commit is contained in:
nospam2998
2022-02-04 18:56:48 +01:00
committed by GitHub
parent 5856c06775
commit a58b7b5efb
3 changed files with 48 additions and 7 deletions

View File

@@ -1797,6 +1797,9 @@ g:ale_open_list *g:ale_open_list*
loclist (|lopen|) or for the quickfix list instead if |g:ale_set_quickfix|
is `1`. (|copen|)
When set to any higher numberical value, ALE will only open the window when
the number of warnings or errors are at least that many.
When set to `'on_save'`, ALE will only open the loclist after buffers have
been saved. The list will be opened some time after buffers are saved and
any linter for a buffer returns results.