diff --git a/autoload/ale/completion.vim b/autoload/ale/completion.vim index 6fa2619b..d8c2b4e2 100644 --- a/autoload/ale/completion.vim +++ b/autoload/ale/completion.vim @@ -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