feat: add 'ecolog' source to completion options
This commit is contained in:
+2
-1
@@ -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 })
|
||||||
|
|||||||
Reference in New Issue
Block a user