Fix #3266 Part 2: Fix Harder

This commit is contained in:
w0rp 2020-08-06 09:36:00 +01:00
parent fa3a927ca3
commit cdd8d38e2f
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ function! ale#hover#HandleLSPResponse(conn_id, response) abort
\&& 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])
call ale#cursor#TruncatedEcho(split(l:str, "\n")[0])
elseif g:ale_hover_to_preview
call ale#preview#Show(split(l:str, "\n"), {
\ 'filetype': 'ale-preview.message',