Mention the disabled option for message severity

This commit is contained in:
w0rp 2019-10-18 16:22:17 +01:00
parent 5e69aaf4c2
commit c06467438d
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function! ale#lsp_window#HandleShowMessage(linter_name, format, params) abort
" Get the configured severity level threshold and check if the message
" should be displayed or not
let l:configured_severity = tolower(get(g:, 'ale_lsp_show_message_severity', 'error'))
" If the user has confgured with a value we can't find on the conversion
" If the user has configured with a value we can't find on the conversion
" dict, fall back to warning
let l:cfg_severity_threshold = get(s:CFG_TO_LSP_SEVERITY, l:configured_severity, s:LSP_MESSAGE_TYPE_WARNING)

View File

@ -1298,6 +1298,7 @@ g:ale_lsp_show_message_severity *g:ale_lsp_show_message_
`'warning'` - Displays errors and warnings.
`'information'` - Displays errors, warnings and infos
`'log'` - Same as `'information'`
`'disabled'` - Doesn't display any information at all.
g:ale_lsp_root *g:ale_lsp_root*