[completion] possible to trigger signature help? #1651
-
Contributing guidelines
Module(s)mini.completion QuestionHello! Ive been using completion now that snippets are supported. I usually like to trigger any kinda popups. I set the delay for completion very high so I can trigger it with a keybind. Is it possible to do the dame thing with the automatic signature help that pops when when filling out a function? I see I can set the delay, but not sure how to map a keybind to it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Although of course possible, I don't think this fits well into 'mini.completion'. The whole design revolves around being autocompletion. Making it possible to trigger manually would require some code reworking as it would need slightly more safeguards to account for the new scenario. On top of that, having only signature window possible to manually trigger and not info window would feel odd; while making both of them manually triggerable is a bit too much. The auto signature help is shown after special trigger characters defined by the server ( The other suggestion here is to use Neovim's So all in all, I don't manual signature help this is a good fit for 'mini.completion'. |
Beta Was this translation helpful? Give feedback.
Although of course possible, I don't think this fits well into 'mini.completion'. The whole design revolves around being autocompletion. Making it possible to trigger manually would require some code reworking as it would need slightly more safeguards to account for the new scenario. On top of that, having only signature window possible to manually trigger and not info window would feel odd; while making both of them manually triggerable is a bit too much.
The auto signature help is shown after special trigger characters defined by the server (
server_capabilities.signatureHelpProvider.triggerCharacters
), so maybe you can adjust them to fit your needs? There are some issues with auto-hidin…