mirror of https://github.com/dense-analysis/ale
Fix #3266 Part 2: Fix Harder
This commit is contained in:
parent
fa3a927ca3
commit
cdd8d38e2f
|
@ -106,7 +106,7 @@ function! ale#hover#HandleLSPResponse(conn_id, response) abort
|
||||||
\&& ale#Var(l:options.buffer, 'set_balloons')
|
\&& ale#Var(l:options.buffer, 'set_balloons')
|
||||||
call balloon_show(l:str)
|
call balloon_show(l:str)
|
||||||
elseif get(l:options, 'truncated_echo', 0)
|
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
|
elseif g:ale_hover_to_preview
|
||||||
call ale#preview#Show(split(l:str, "\n"), {
|
call ale#preview#Show(split(l:str, "\n"), {
|
||||||
\ 'filetype': 'ale-preview.message',
|
\ 'filetype': 'ale-preview.message',
|
||||||
|
|
Loading…
Reference in New Issue