From eb18a78742eeeb4ef019e28ea2f29b31f0ead97f Mon Sep 17 00:00:00 2001 From: Girish Palya Date: Wed, 20 Dec 2023 17:43:20 +0100 Subject: [PATCH] requested change M autoload/lsp/completion.vim --- autoload/lsp/completion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.48.1