From 06bcc382afa852971f7feb2d60d0ffed3a7491ba Mon Sep 17 00:00:00 2001 From: Tyler Hallada Date: Fri, 31 Jul 2026 12:24:32 -0400 Subject: [PATCH] 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 --- lua/plugins/blink.lua | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/lua/plugins/blink.lua b/lua/plugins/blink.lua index f628a1d..152d4a6 100644 --- a/lua/plugins/blink.lua +++ b/lua/plugins/blink.lua @@ -1,8 +1,6 @@ return { "saghen/blink.cmp", dependencies = { - -- For auto-completion in the avante window - "Kaiser-Yang/blink-cmp-avante", -- For emoji selection "moyiz/blink-emoji.nvim", }, @@ -12,26 +10,10 @@ return { show_in_snippet = false, }, }, - -- use preset again once this is merged: https://github.com/LazyVim/LazyVim/pull/6183 - -- keymap = { preset = "super-tab" }, - keymap = { - [""] = { - require("blink.cmp.keymap.presets").get("super-tab")[""][1], - require("lazyvim.util").cmp.map({ "snippet_forward", "ai_accept" }), - "fallback", - }, - }, + keymap = { preset = "super-tab" }, sources = { - -- Add 'avante' to the list - default = { "avante", "lsp", "path", "snippets", "buffer", "emoji" }, + default = { "lsp", "path", "snippets", "buffer", "emoji" }, providers = { - avante = { - module = "blink-cmp-avante", - name = "Avante", - opts = { - -- options for blink-cmp-avante - }, - }, emoji = { module = "blink-emoji", name = "Emoji",