added copilot to blink
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user