Skip to content

Commit 2e59370

Browse files
smhcprabirshrestha
authored andcommitted
Fix erasing ALE (and other) diagnostic errors (#184)
ALE (and other plugins) echo diagnostic error messages. vim-lsp erases these by echoing a blank line unnecessarily.
1 parent 5a9be40 commit 2e59370

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

autoload/lsp/ui/vim/diagnostics/echo.vim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ function! s:echo_diagnostics_under_cursor(...) abort
2323
let l:diagnostic = lsp#ui#vim#diagnostics#get_diagnostics_under_cursor()
2424
if !empty(l:diagnostic) && has_key(l:diagnostic, 'message')
2525
echo 'LSP: '. substitute(l:diagnostic['message'], '\n\+', ' ', 'g')
26-
else
27-
echo ''
2826
endif
2927
endfunction
3028

0 commit comments

Comments
 (0)