From: shane.xb.qian Date: Thu, 17 Nov 2022 11:18:10 +0000 (+0800) Subject: fix: item of completionItem/resolve perhaps is null X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=8ad7936394a62f0d78976aa2325fac3b3664038e;p=vim-lsp.git fix: item of completionItem/resolve perhaps is null Signed-off-by: shane.xb.qian --- diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index a830e66..47d99b8 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -182,7 +182,7 @@ enddef # process the 'completionItem/resolve' reply from the LSP server # Result: CompletionItem -export def CompletionResolveReply(lspserver: dict, cItem: dict) +export def CompletionResolveReply(lspserver: dict, cItem: any) if cItem->empty() return endif