mirror of
https://github.com/dense-analysis/ale
synced 2024-12-22 06:10:07 +00:00
Merge pull request #1640 from docwhat/pr/lsp-handle-missing-details
lsp: handle missing "detail" key
This commit is contained in:
commit
22a9dcd03e
@ -317,7 +317,7 @@ function! ale#completion#ParseLSPCompletions(response) abort
|
||||
\ 'word': l:word,
|
||||
\ 'kind': l:kind,
|
||||
\ 'icase': 1,
|
||||
\ 'menu': l:item.detail,
|
||||
\ 'menu': get(l:item, 'detail', ''),
|
||||
\ 'info': get(l:item, 'documentation', ''),
|
||||
\})
|
||||
endfor
|
||||
|
Loading…
Reference in New Issue
Block a user