Skip to content

How to display all overloads of a function and step through them #995

Answered by S4deghN
lime21312 asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use this: https://github.com/hrsh7th/cmp-nvim-lsp-signature-help
nvim-cmp is a modular plugin and you need to install features you want manually.
If you already have set up the main plugin, adding this feature is as easy as installing the plugin the way you prefer and adding this to your config:

require'cmp'.setup {
  sources = {
    { name = 'nvim_lsp_signature_help' }
  }
}

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@lime21312
Comment options

@jamestrew
Comment options

Comment options

You must be logged in to vote
1 reply
@nikfp
Comment options

Answer selected by hrsh7th
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants