Fix #1069 Support formatting the loclist messages with g:ale_loclist_msg_format

This commit is contained in:
w0rp
2017-11-14 10:28:36 +00:00
parent d8f9aef84a
commit 16e7dc2371
6 changed files with 215 additions and 30 deletions

View File

@@ -656,6 +656,7 @@ g:ale_echo_msg_format *g:ale_echo_msg_format*
The strings for `%severity%` can be configured with the following options.
|g:ale_echo_msg_error_str| - Defaults to `'Error'`
|g:ale_echo_msg_info_str| - Defaults to `'Info'`
|g:ale_echo_msg_warning_str| - Defaults to `'Warning'`
`%code%` is replaced with the error code, and replaced with an empty string
@@ -994,6 +995,17 @@ g:ale_linters *g:ale_linters*
let b:ale_linters = 'all'
<
g:ale_loclist_msg_format *g:ale_loclist_msg_format*
Type: |String|
Default: `g:ale_echo_msg_format`
This option is the same as |g:ale_echo_msg_format|, but for formatting the
message used for the loclist and the quickfix list.
The strings for configuring `%severity%` are also used for this option.
g:ale_max_buffer_history_size *g:ale_max_buffer_history_size*
Type: |Number|