matsui54 / ddc-nvim-lsp-doc

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

Float window not closing #11

Closed ryan0270 closed 2 years ago

ryan0270 commented 2 years ago

When I open parenthesis for a function the float pops up as expected but then it never goes away. I expected the float to go away when I closed parenthesis for the function or escape out of edit mode.

image

float foo(int a, double b)
{
  return 1.f;
}

int main(int, char**)
{
  if(foo(1,2) 
  {
    return 1;
  }
  return 0;
}

set runtimepath+=~/.cache/dein/repos/github.com/Shougo/dein.vim call dein#begin('~/.cache/dein')

call dein#add('~/.cache/dein/repos/github.com/Shougo/dein.vim') call dein#add('Shougo/ddc-nvim-lsp') call dein#add('Shougo/ddc.vim') call dein#add('matsui54/ddc-nvim-lsp-doc') call dein#add('neovim/nvim-lspconfig') call dein#add('vim-denops/denops.vim') call dein#end() call dein#save_state()

call ddc#enable() call ddc_nvim_lsp_doc#enable() lua require('lspconfig').clangd.setup{cmd={'clangd'}}

matsui54 commented 2 years ago

I fixed. Thank you for reporting! But, from today, this plugin is no longer maintained. Please use denops-popup-preview.vim and denops-signature_help instead.

You can use them like this.

call popup_preview#enable()
call signature_help#enable()