nvim-cmp: prefer lsp/path/buffer over copilot autocompletes
This commit is contained in:
parent
9509babd9e
commit
6997f3da65
1 changed files with 2 additions and 2 deletions
|
|
@ -34,11 +34,11 @@ return {
|
|||
cmp.setup({
|
||||
formatting = lsp_zero.cmp_format(),
|
||||
sources = {
|
||||
{ name = "copilot" },
|
||||
{ name = "nvim_lsp" },
|
||||
{ name = "path" },
|
||||
{ name = "luasnip" },
|
||||
{ name = "buffer" },
|
||||
{ name = "copilot" },
|
||||
{ name = "luasnip" },
|
||||
},
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
["<C-Space>"] = cmp.mapping.complete(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue