mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-09 14:55:52 +08:00
lsp: handle missing "detail" key
This commit is contained in:
1 parent
10a9177b6b
commit
fd7456fce0
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user