1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Merge remote-tracking branch 'amix/master'

This commit is contained in:
Geezus
2019-05-20 10:18:49 -05:00
8 changed files with 185 additions and 46 deletions

View File

@ -462,9 +462,6 @@ function! s:completionHandler(next, msg) abort dict
let l:match = {'abbr': l:item.label, 'word': l:item.textEdit.newText, 'info': '', 'kind': go#lsp#completionitemkind#Vim(l:item.kind)}
if has_key(l:item, 'detail')
let l:match.info = l:item.detail
if go#lsp#completionitemkind#IsFunction(l:item.kind) || go#lsp#completionitemkind#IsMethod(l:item.kind)
let l:match.info = printf('func %s %s', l:item.label, l:item.detail)
endif
endif
if has_key(l:item, 'documentation')