added copilot to blink

This commit is contained in:
2025-08-07 23:56:59 +02:00
parent a8272fe28d
commit 80597dc757
2 changed files with 9 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ return {
},
'rafamadriz/friendly-snippets',
'dmitmel/cmp-cmdline-history',
'fang2hou/blink-copilot',
},
-- use a release tag to download pre-built binaries
@@ -47,7 +48,7 @@ return {
},
sources = {
default = { 'lsp', 'path', 'snippets', 'buffer' },
default = { 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
providers = {
lsp = {
fallbacks = {},
@@ -57,6 +58,12 @@ return {
module = 'blink.compat.source',
score_offset = -3,
},
copilot = {
name = 'copilot',
module = 'blink-copilot',
score_offset = 100,
async = true,
},
},
},