From c06467438dff38b939fd81b32395296d01a59df6 Mon Sep 17 00:00:00 2001 From: w0rp Date: Fri, 18 Oct 2019 16:22:17 +0100 Subject: [PATCH] Mention the disabled option for message severity --- autoload/ale/lsp_window.vim | 2 +- doc/ale.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/ale/lsp_window.vim b/autoload/ale/lsp_window.vim index 15cd0a1e..9a27f2f1 100644 --- a/autoload/ale/lsp_window.vim +++ b/autoload/ale/lsp_window.vim @@ -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) diff --git a/doc/ale.txt b/doc/ale.txt index 177b67df..291e90fb 100644 --- a/doc/ale.txt +++ b/doc/ale.txt @@ -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*