Remove Avante leftovers from blink.cmp config

Avante was removed in c26b6c9 but blink-cmp-avante stayed as a dependency and
"avante" stayed first in sources.default, so the provider still loaded at
startup. Restore `keymap = { preset = "super-tab" }` now that LazyVim#6183 has
shipped; the workaround called require() during spec evaluation, which pulled
blink.cmp into startup.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-31 12:27:20 -04:00
co-authored by Claude Opus 5
parent bc500da957
commit 06bcc382af
+2 -20
View File
@@ -1,8 +1,6 @@
return { return {
"saghen/blink.cmp", "saghen/blink.cmp",
dependencies = { dependencies = {
-- For auto-completion in the avante window
"Kaiser-Yang/blink-cmp-avante",
-- For emoji selection -- For emoji selection
"moyiz/blink-emoji.nvim", "moyiz/blink-emoji.nvim",
}, },
@@ -12,26 +10,10 @@ return {
show_in_snippet = false, show_in_snippet = false,
}, },
}, },
-- use preset again once this is merged: https://github.com/LazyVim/LazyVim/pull/6183 keymap = { preset = "super-tab" },
-- keymap = { preset = "super-tab" },
keymap = {
["<Tab>"] = {
require("blink.cmp.keymap.presets").get("super-tab")["<Tab>"][1],
require("lazyvim.util").cmp.map({ "snippet_forward", "ai_accept" }),
"fallback",
},
},
sources = { sources = {
-- Add 'avante' to the list default = { "lsp", "path", "snippets", "buffer", "emoji" },
default = { "avante", "lsp", "path", "snippets", "buffer", "emoji" },
providers = { providers = {
avante = {
module = "blink-cmp-avante",
name = "Avante",
opts = {
-- options for blink-cmp-avante
},
},
emoji = { emoji = {
module = "blink-emoji", module = "blink-emoji",
name = "Emoji", name = "Emoji",