updates
This commit is contained in:
22 files changed
+408
-539
No files matched your search
@@ -23,23 +23,8 @@ blink.setup({
|
||||
kind_icons = icons.kind,
|
||||
},
|
||||
sources = {
|
||||
default = { 'lazydev', 'lsp', 'path', 'snippets', 'buffer', 'copilot' },
|
||||
default = { 'lazydev', 'lsp', 'path', 'snippets', 'buffer' },
|
||||
providers = {
|
||||
copilot = {
|
||||
name = 'copilot',
|
||||
module = 'blink-cmp-copilot',
|
||||
score_offset = 90,
|
||||
async = true,
|
||||
transform_items = function(_, items)
|
||||
local CompletionItemKind = require('blink.cmp.types').CompletionItemKind
|
||||
local kind_idx = #CompletionItemKind + 1
|
||||
CompletionItemKind[kind_idx] = 'Copilot'
|
||||
for _, item in ipairs(items) do
|
||||
item.kind = kind_idx
|
||||
end
|
||||
return items
|
||||
end,
|
||||
},
|
||||
lazydev = {
|
||||
name = 'LazyDev',
|
||||
module = 'lazydev.integrations.blink',
|
||||
|
||||
Reference in new issue
Block a user