2025-05-05 12:28:48 +02:00

40 lines
987 B
Lua

return {
"saghen/blink.cmp",
dependencies = {
"Kaiser-Yang/blink-cmp-avante",
-- ... Other dependencies
},
opts = {
signature = { enabled = true },
keymap = {
["<A-y>"] = {
function(cmp)
cmp.show({ providers = { "minuet" } })
end,
},
},
sources = {
default = { "avante", "lsp", "path", "buffer", "minuet" },
providers = {
avante = {
module = "blink-cmp-avante",
name = "Avante",
opts = {
-- options for blink-cmp-avante
},
},
minuet = {
name = "minuet",
module = "minuet.blink",
async = true,
-- Should match minuet.config.request_timeout * 1000,
-- since minuet.config.request_timeout is in seconds
timeout_ms = 10000,
score_offset = 50, -- Gives minuet higher priority among suggestions
},
},
},
},
build = "nix run .#build-plugin",
}