summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2019-10-18 16:22:17 +0100
committerw0rp <devw0rp@gmail.com>2019-10-18 16:22:17 +0100
commitc06467438dff38b939fd81b32395296d01a59df6 (patch)
tree9c25dba7617f127b1526b07ea7bf9d47e8281de0
parent5e69aaf4c2b4ffbfd4fbe0af820e23bf559b8e14 (diff)
downloadale-c06467438dff38b939fd81b32395296d01a59df6.zip
Mention the disabled option for message severity
-rw-r--r--autoload/ale/lsp_window.vim2
-rw-r--r--doc/ale.txt1
2 files changed, 2 insertions, 1 deletions
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*