mirror of
https://github.com/dense-analysis/ale
synced 2025-01-18 21:20:46 +00:00
commit
a6012d853c
@ -399,10 +399,10 @@ function! ale#completion#ParseLSPCompletions(response) abort
|
|||||||
endfor
|
endfor
|
||||||
|
|
||||||
if has_key(l:info, 'prefix')
|
if has_key(l:info, 'prefix')
|
||||||
return ale#completion#Filter(l:buffer, &filetype, l:results, l:info.prefix)
|
let l:results = ale#completion#Filter(l:buffer, &filetype, l:results, l:info.prefix)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
return l:results
|
return l:results[: g:ale_completion_max_suggestions - 1]
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale#completion#HandleTSServerResponse(conn_id, response) abort
|
function! ale#completion#HandleTSServerResponse(conn_id, response) abort
|
||||||
|
Loading…
Reference in New Issue
Block a user