plugin upgrades and fuckery.

This commit is contained in:
2025-09-24 16:22:21 +02:00
parent 866b6ff34c
commit a28447db2f
11 changed files with 135 additions and 133 deletions

View File

@@ -1,37 +1,22 @@
return {
"saghen/blink.cmp",
dependencies = {
-- "Kaiser-Yang/blink-cmp-avante",
-- ... Other dependencies
"Kaiser-Yang/blink-cmp-avante",
{ "L3MON4D3/LuaSnip", version = "v2.*" },
},
opts = {
signature = { enabled = true },
fuzzy = { implementation = "prefer_rust" },
keymap = {
["<A-y>"] = {
function(cmp)
cmp.show({ providers = { "minuet" } })
end,
},
},
snippets = { preset = "luasnip" },
sources = {
default = { "lsp", "path", "buffer", "minuet" },
default = { "lsp", "path", "avante", "snippets", "buffer" },
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
avante = {
module = "blink-cmp-avante",
name = "Avante",
opts = {
-- options for blink-cmp-avante
},
},
},
},