From a58b7b5efb058ca8ba597289af2ab49ee56bfc46 Mon Sep 17 00:00:00 2001 From: nospam2998 <98894405+nospam2998@users.noreply.github.com> Date: Fri, 4 Feb 2022 18:56:48 +0100 Subject: 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 --- doc/ale.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/ale.txt') diff --git a/doc/ale.txt b/doc/ale.txt index 9d64cb1d..a4974ec2 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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. -- cgit v1.2.3