feat: replace nvim-cmp with blink-cmp
This commit is contained in:
parent
022abfffc5
commit
eeb8173a90
4 changed files with 43 additions and 128 deletions
28
neovim/blink-cmp.lua
Normal file
28
neovim/blink-cmp.lua
Normal 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,
|
||||
}
|
||||
}
|
||||
},
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue