mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-14 03:14:38 +02:00
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:
parent
83bf6360a1
commit
17ee28dc4a
2 changed files with 18 additions and 8 deletions
|
@ -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[] } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue