This commit is contained in:
sankalp committed 2025-01-19 14:43:34 +05:45
1 parent 7e1e99786c
commit 1af1f266a3
22 files changed
+408 -539

No files matched your search

+1 -16
View File
@@ -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',