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

Feature request: add an option to ignore {,re}trigger characters for signatureHelp #89

Open
griwes opened this issue Oct 11, 2024 · 1 comment

Comments

@griwes
Copy link

griwes commented Oct 11, 2024

Currently, the plugin only invokes textDocument/signatureHelp when at a trigger character (or at retrigger if already active). This is fine when initially typing a function call, but if you need to edit the middle of an argument, signature help will not trigger, and that would often be helpful.

Therefore - can we get an option to ignore the server provided trigger characters and always trigger signatureHelp on InsertEnter, CursorMovedI, and TextChangedI? This could be worked around with some autocmds, but it'd be much more elegant to do in the plugin itself.

@griwes
Copy link
Author

griwes commented Oct 11, 2024

Hmm, actually, autocmd InsertEnter * lua require('blink.cmp.trigger.signature').show() works, because the plugin currently keeps the context around until you exit insert mode, it seems - but I doubt that this behavior is expected / stable?

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

1 participant