Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to disable automatic signaturehelp? #17

Open
flor-morada opened this issue Jul 18, 2022 · 1 comment
Open

Possibility to disable automatic signaturehelp? #17

flor-morada opened this issue Jul 18, 2022 · 1 comment

Comments

@flor-morada
Copy link

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
Copy link

ianhomer commented Oct 25, 2022

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
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants