Skip to content

Commit 682a20c

Browse files
authored
g:lsp_diagnostics_{echo,float}_cursor are NOT exclusive (#711)
1 parent fabb572 commit 682a20c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

autoload/lsp.vim

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ function! s:on_cursor_moved() abort
243243

244244
if g:lsp_diagnostics_echo_cursor
245245
call lsp#ui#vim#diagnostics#echo#cursor_moved()
246-
elseif g:lsp_diagnostics_float_cursor && lsp#ui#vim#output#float_supported()
246+
endif
247+
if g:lsp_diagnostics_float_cursor && lsp#ui#vim#output#float_supported()
247248
call lsp#ui#vim#diagnostics#float#cursor_moved()
248249
endif
249250

0 commit comments

Comments
 (0)