plugin upgrades and fuckery.
This commit is contained in:
@@ -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
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Reference in New Issue
Block a user