Programmatically accept suggestion #15
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hey,
I would love to be able to interact with this plugin via Lua code. This is super useful when configuring AI suggestions together with LSP completion.
This is how I set up accepting both Luasnip snippets and GitHub Copilot under the save key via
nvim-cmp:Cheers!
Second this. Just mapping to a function like this, but falling back to
<Tab>worked for me yesterday, but it no longer works.As of the last PR, something like this should work btw:
Just in case this saves someone's time in the future, there is also
expand_or_jumpable()andexpand_or_jump().Closing issue since https://github.com/supermaven-inc/supermaven-nvim/issues/15#issuecomment-2119390970 provides a solution.