Skip to content

Support displaying signature after selecting completion #247

Closed

Description

@ericvw

Coming from vim and YouCompleteMe, a feature I didn't realize I depended upon was YCM's signature help (associated PR for it with GUI examples). The signature would pop up after accepting a completion so that you can easily reference the signature while typing.

Below is what I am talking about:
vim-ycm

After typing foo(, the signature help would float above what I was typing to reference it. After the closing paren (i.e., )) the signature would disappear.

Does nvim-cmp already support this? If not, is it a feature that fits well with the project? Thanks!

Activity

  1. ericvw commented on Sep 24, 2021

    @ericvw
    Author

    A colleague pointed me at https://github.com/ray-x/lsp_signature.nvim. If this feature is not in scope for nvim-cmp, I can use another plugin for this functionality.

  2. rafamadriz commented on Sep 24, 2021

    @rafamadriz

    The author of this plugin has mentioned multiple times that this feature is not within the scope of the project because is not in the LSP spec, hence he has no plans of supporting this. As you mentioned, there is lsp_signature.nvim and it's a fine solution.

  3. ericvw commented on Sep 24, 2021

    @ericvw
    Author

    @rafamadriz, thanks! I completely forgot to check existing closed issues. I found #235 (comment). I'll close this and apologies for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions