hrsh7th / cmp-nvim-lsp-signature-help

cmp-nvim-lsp-signature-help
622 stars 27 forks source link

Possibility to disable automatic signaturehelp? #17

Open flor-morada opened 2 years ago

flor-morada commented 2 years ago

With other sources, cmp does not preselect the top menu item, and thus does not reveal the documentation until I select it. With this plugin, whenever entering parameters, the entire function documentation is shown. I would like to be able to achieve the default behavior with this plugin. That is, when typing parameters, the cmp menu appears with the name of the current parameter, and if I select this item, then the signaturehelp appears. Is this possible with some configuration?

Thank you in advance, and for the wonderful plugin work here!

ianhomer commented 1 year ago

preselect = cmp.PreselectMode.None in the cmp.setup configures this behaviour for me - https://github.com/hrsh7th/nvim-cmp/blob/main/doc/cmp.txt - "How to disable the preselect feature?"

  cmp.setup {
    preselect = cmp.PreselectMode.None
  }