feat: replace nvim-cmp with blink-cmp

This commit is contained in:
Michael Mandl 2025-06-17 14:32:48 +02:00
parent 022abfffc5
commit eeb8173a90
Signed by: mandlm
GPG key ID: 088ED38F036C7AF2
4 changed files with 43 additions and 128 deletions

28
neovim/blink-cmp.lua Normal file
View file

@ -0,0 +1,28 @@
require("copilot").setup({
copilot_model = "claude-4-sonnet"
})
require("blink-copilot").setup({})
require("blink-cmp").setup({
completion = {
documentation = { auto_show = true, auto_show_delay_ms = 500 },
ghost_text = { enabled = true },
},
keymap = {
preset = "default"
},
signature = { enabled = true },
sources = {
default = { "copilot", "lsp", "buffer", "path", "cmdline", "codecompanion" },
providers = {
copilot = {
name = "copilot",
module = "blink-copilot",
score_offset = 100,
async = true,
}
}
},
})