feat: add 'ecolog' source to completion options

This commit is contained in:
2024-12-11 14:54:51 -05:00
parent f73d39a89f
commit 2196b41b5c
+2 -1
View File
@@ -172,6 +172,7 @@ return { -- cmp
end, { 'i', 's' }), end, { 'i', 's' }),
}), }),
sources = { sources = {
{ name = 'ecolog' },
{ name = 'nvim_lsp', priority = 1000 }, { name = 'nvim_lsp', priority = 1000 },
{ name = 'luasnip', priority = 750 }, { name = 'luasnip', priority = 750 },
{ name = 'path', priority = 250 }, { name = 'path', priority = 250 },
@@ -195,7 +196,7 @@ return { -- cmp
path = ' Path', path = ' Path',
buffer = '󰓩 Buffer', buffer = '󰓩 Buffer',
dotenv = ' Dotenv', dotenv = ' Dotenv',
cmp_yanky = ' History', cmp_yanky = '󰅍 Yanked',
} }
local color_item = local color_item =
require('nvim-highlight-colors').format(entry, { kind = item.kind }) require('nvim-highlight-colors').format(entry, { kind = item.kind })