Store the output of commands by default so I don't have to ask people to turn it on any more.

This commit is contained in:
w0rp 2017-07-04 00:16:53 +01:00
parent bb293b297c
commit 7b7a275902
2 changed files with 5 additions and 4 deletions

View File

@ -366,7 +366,7 @@ g:ale_history_enabled *g:ale_history_enabled*
g:ale_history_log_output *g:ale_history_log_output*
Type: |Number|
Default: `0`
Default: `1`
When set to `1`, ALE will store the output of commands which have completed
successfully in the command history, and the output will be displayed when
@ -375,8 +375,9 @@ g:ale_history_log_output *g:ale_history_log_output*
|g:ale_history_enabled| must be set to `1` for this output to be stored or
printed.
ALE will likely consume a lot of memory if this option is on, so it should
only be used for debugging problems with linters.
Some memory will be consumed by this option. It is very useful for figuring
out what went wrong with linters, and for bug reports. Turn this option off
if you want to save on some memory usage.
g:ale_keep_list_window_open *g:ale_keep_list_window_open*

View File

@ -167,7 +167,7 @@ let g:ale_max_buffer_history_size = get(g:, 'ale_max_buffer_history_size', 20)
let g:ale_history_enabled = get(g:, 'ale_history_enabled', 1)
" A flag for storing the full output of commands in the history.
let g:ale_history_log_output = get(g:, 'ale_history_log_output', 0)
let g:ale_history_log_output = get(g:, 'ale_history_log_output', 1)
" A dictionary mapping regular expression patterns to arbitrary buffer
" variables to be set. Useful for configuration ALE based on filename