summaryrefslogtreecommitdiff
path: root/doc/ale.txt
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-08-08 00:46:42 +0100
committerw0rp <devw0rp@gmail.com>2017-08-08 00:46:42 +0100
commit16cfedf04a46a3d498dfd4f7293c555562d0776e (patch)
tree80440fdc42c41f855a3936e2128ad7d68296d94a /doc/ale.txt
parent2edea153585560e5788d1761595eb0141ad6e3bd (diff)
downloadale-16cfedf04a46a3d498dfd4f7293c555562d0776e.zip
Fix #271 - Add the ability to open the quickfix or loclist windows only after saving a file
Diffstat (limited to 'doc/ale.txt')
-rw-r--r--doc/ale.txt16
1 files changed, 10 insertions, 6 deletions
diff --git a/doc/ale.txt b/doc/ale.txt
index 51da9463..1de7803d 100644
--- a/doc/ale.txt
+++ b/doc/ale.txt
@@ -398,7 +398,7 @@ g:ale_history_log_output *g:ale_history_log_output*
g:ale_keep_list_window_open *g:ale_keep_list_window_open*
-
+ *b:ale_keep_list_window_open*
Type: |Number|
Default: `0`
@@ -600,13 +600,17 @@ g:ale_maximum_file_size *g:ale_maximum_file_size*
g:ale_open_list *g:ale_open_list*
-
- Type: |Number|
+ *b:ale_open_list*
+ Type: |Number| or |String|
Default: `0`
- When set to `1`, this will cause ALE to automatically open a window for
- the loclist (|lopen|) or for the quickfix list instead if
- |g:ale_set_quickfix| is `1`. (|copen|)
+ When set to `1`, this will cause ALE to automatically open a window for the
+ loclist (|lopen|) or for the quickfix list instead if |g:ale_set_quickfix|
+ is `1`. (|copen|)
+
+ 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.
The window will be kept open until all warnings or errors are cleared,
including those not set by ALE, unless |g:ale_keep_list_window_open| is set