From: Girish Palya Date: Wed, 20 Dec 2023 16:43:20 +0000 (+0100) Subject: requested change X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=eb18a78742eeeb4ef019e28ea2f29b31f0ead97f;p=vim-lsp.git requested change M autoload/lsp/completion.vim --- diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index 170749e..6641e20 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -263,7 +263,7 @@ export def CompletionReply(lspserver: dict, cItems: any) d.icase = 1 endif - if item->has_key('kind') && !item.kind->empty() + if item->has_key('kind') && item.kind != null # namespace CompletionItemKind # map LSP kind to complete-item-kind d.kind = LspCompleteItemKindChar(item.kind)