Merge work

This commit is contained in:
Martin
2025-07-16 19:08:18 +02:00
parent 4321d6bba5
commit c52452dbf4
3 changed files with 23 additions and 14 deletions

View File

@ -44,14 +44,14 @@ cmp.setup({
}),
sources = cmp.config.sources({
{ name = 'nvim_lsp' },
{ name = 'vsnip' },
{ name = 'path' },
{ name = 'cmp_yanky' },
{ name = 'git' },
{ name = 'copilot' },
-- }, {
{ name = 'buffer', keyword_length = 2 },
{ name = 'nvim_lsp', priority = 1000 },
{ name = 'buffer', priority = 800, keyword_length = 2 },
{ name = 'copilot', priority = 700 },
{ name = 'path', priority = 600 },
{ name = 'cmp_yanky', priority = 500 },
{ name = 'git', priority = 400 },
{ name = 'vsnip', priority = 300 },
{ name = 'nvim_lua', priority = 200 },
}),
formatting = {