mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-25 12:26:51 +08:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user