Skip to content

Commit

Permalink
Merge pull request #475 from girishji/main
Browse files Browse the repository at this point in the history
bug: 'Lazy doc' completion broken for omnifunc
  • Loading branch information
yegappan authored Mar 15, 2024
2 parents 9111948 + 9a15d6a commit f5adbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/lsp/completion.vim
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,7 @@ export def BufferInit(lspserver: dict<any>, 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
Expand Down

0 comments on commit f5adbd1

Please sign in to comment.