feat(supermaven): support word-completion

The supermaven-plugin supports partial completion, which is essentially
expanding the next word. Configuration is extended to allow
word-expansion on S-Tab with blink.
This commit is contained in:
Dennis Frommknecht 2025-01-27 18:31:23 +01:00
parent 83bf6360a1
commit 17ee28dc4a
2 changed files with 18 additions and 8 deletions

View file

@ -85,6 +85,10 @@ return {
keymap = {
preset = "enter",
["<C-y>"] = { "select_and_accept" },
["<S-Tab>"] = {
LazyVim.cmp.map({ "snippet_backward", "ai_accept_word" }),
"fallback",
},
},
},
---@param opts blink.cmp.Config | { sources: { compat: string[] } }