Search code examples
vimautocompletevim-plugin

How to trigger autocomplete suggestion box in vim or neovim (Plugin neoclide/coc.vim)


I'm Neovim user

and I use Plugin neoclide/coc.vim for autocompletion

but when my cursor focus out, I can not get suggestion box again
(How can I call this box? suggest box or hint box? I want to know this box name)

I want to trigger it and see again, Is there any command or variable for this?

enter image description here


Solution

  • I've commented in https://github.com/neoclide/coc.nvim/issues/2299#issuecomment-686293001

    The suggestion box in your image is signatureHelp. If you want to reopen it, you need to trigger triggerCharacters in your function, usually is ( and ,. The triggerCharacters is defined by LS.