From 9a15d6a7fd8d8116e655134135c0c8f02fcb943c Mon Sep 17 00:00:00 2001 From: Girish Palya Date: Wed, 13 Mar 2024 19:53:48 +0100 Subject: [PATCH] 'Lazy doc' completion broken for omnifunc pylsp was not displaying documentation from lsp server. this fixes the problem 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 71984d8..8ce5899 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -641,7 +641,7 @@ export def BufferInit(lspserver: dict, bnr: number, ftype: string) return endif - if !opt.lspOptions.autoComplete && !LspOmniComplEnabled(ftype) + if !opt.lspOptions.autoComplete && !LspOmniComplEnabled(ftype) && !opt.lspOptions.omniComplete # LSP auto/omni completion support is not enabled for this buffer return endif -- 2.48.1