Files
neovim-config/lua/plugins/blink.lua
T
thalladaandClaude Opus 5 06bcc382af 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>
2026-07-31 12:27:20 -04:00

33 lines
744 B
Lua

return {
"saghen/blink.cmp",
dependencies = {
-- For emoji selection
"moyiz/blink-emoji.nvim",
},
opts = {
completion = {
trigger = {
show_in_snippet = false,
},
},
keymap = { preset = "super-tab" },
sources = {
default = { "lsp", "path", "snippets", "buffer", "emoji" },
providers = {
emoji = {
module = "blink-emoji",
name = "Emoji",
score_offset = 15, -- Tune by preference
opts = {
insert = true, -- Insert emoji (default) or complete its name
---@type string|table|fun():table
trigger = function()
return { ":" }
end,
},
},
},
},
},
}