diff --git a/autoload/ale/hover.vim b/autoload/ale/hover.vim index 79c94266..fe8108c0 100644 --- a/autoload/ale/hover.vim +++ b/autoload/ale/hover.vim @@ -105,6 +105,8 @@ function! ale#hover#HandleLSPResponse(conn_id, response) abort \&& exists('*balloon_show') \&& ale#Var(l:options.buffer, 'set_balloons') call balloon_show(l:str) + elseif get(l:options, 'truncated_echo', 0) + call ale#cursor#TruncatedEcho(split(a:response.body.displayString, "\n")[0]) elseif g:ale_hover_to_preview call ale#preview#Show(split(l:str, "\n"), { \ 'filetype': 'ale-preview.message',