diff options
author | Jerko Steiner <jerko.steiner@gmail.com> | 2019-10-22 16:40:27 -0500 |
---|---|---|
committer | Jerko Steiner <jerko.steiner@gmail.com> | 2019-10-22 16:40:27 -0500 |
commit | 463deedc2998ecf864bb479f07e87aa4e83e3030 (patch) | |
tree | 34f72b8b639987de68050e9fa42ba1e2f0289f35 /autoload/ale.vim | |
parent | 40890cfcf38a91e75176d39748a7e4ccb24aeb6b (diff) | |
parent | 67d0ccc398ca7650bb2c774a94d098bee3049169 (diff) | |
download | ale-463deedc2998ecf864bb479f07e87aa4e83e3030.zip |
Merge branch 'master' into do-not-save-on-autoimport
Diffstat (limited to 'autoload/ale.vim')
-rw-r--r-- | autoload/ale.vim | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/autoload/ale.vim b/autoload/ale.vim index 3a4e79c8..ee1a0d54 100644 --- a/autoload/ale.vim +++ b/autoload/ale.vim @@ -5,11 +5,18 @@ " Strings used for severity in the echoed message let g:ale_echo_msg_error_str = get(g:, 'ale_echo_msg_error_str', 'Error') let g:ale_echo_msg_info_str = get(g:, 'ale_echo_msg_info_str', 'Info') +let g:ale_echo_msg_log_str = get(g:, 'ale_echo_msg_log_str', 'Log') let g:ale_echo_msg_warning_str = get(g:, 'ale_echo_msg_warning_str', 'Warning') " Ignoring linters, for disabling some, or ignoring LSP diagnostics. let g:ale_linters_ignore = get(g:, 'ale_linters_ignore', {}) let g:ale_disable_lsp = get(g:, 'ale_disable_lsp', 0) +" LSP window/showMessage format +let g:ale_lsp_show_message_format = get(g:, 'ale_lsp_show_message_format', '%severity%:%linter%: %s') +" Valid values mimic LSP definitions (error, warning and information; log is +" never shown) +let g:ale_lsp_show_message_severity = get(g:, 'ale_lsp_show_message_severity', 'error') + let s:lint_timer = -1 let s:getcmdwintype_exists = exists('*getcmdwintype') @@ -156,7 +163,7 @@ function! ale#Queue(delay, ...) abort endif endfunction -let s:current_ale_version = [2, 5, 0] +let s:current_ale_version = [2, 6, 0] " A function used to check for ALE features in files outside of the project. function! ale#Has(feature) abort |