matsui54 / ddc-nvim-lsp-doc

Shows completion documentation and signature help from nvim-lsp.
MIT License
21 stars 2 forks source link

Floating window not displaying #10

Closed Akulen closed 2 years ago

Akulen commented 2 years ago

I tried adding this plugin to my configuration for neovim (0.5.1) with ddc, but it doesnt seem to work. When I try to complete a call to a c++ stl function (such as vector.push_back()), there is nothing displayed besides the completion suggestions window Here is my full config: http://paste.awesom.eu/bNiJ

Shougo commented 2 years ago

Hi. Have you read the documentation??

https://github.com/matsui54/ddc-nvim-lsp-doc#ddc-nvim-lsp-doc

If you use Vim or pum.vim, use denops-popup-preview.vim instead.

Pum.vim is not supported and you have used pum.vim in your vimrc.

So it is intended behavior. You should close the issue.

matsui54 commented 2 years ago

Yes. You can use both signature help and completion documentation feature with this configuration.

  let g:ddc_nvim_lsp_doc_config = {
        \ 'documentation': {
        \   'enable': v:false,
        \ },
        \ }
  call popup_preview#enable()
  call ddc_nvim_lsp_doc#enable()