hrsh7th / cmp-nvim-lsp-signature-help

cmp-nvim-lsp-signature-help
584 stars 24 forks source link

feat: allow multiline arg passing #46

Open antoinemadec opened 2 months ago

antoinemadec commented 2 months ago

By reusing get_trigger_characters(), we can now trigger signature completion on multiline.
Only difference with before is that it adds a blank space in the list of trigger characters.

Useful when doing stuff like:

my_func(
    arg0,
    arg1,
    ...
)

Only drawback is that we will make signatureHelp LSP requests a bit more often I guess?