update cmp

master
blob42 10 months ago
parent 2052d7088a
commit 9852c55cb3

@ -151,9 +151,9 @@ local options = {
}), }),
}, },
sources = { sources = {
{ name = "luasnip", priority = 1000 }, { name = "luasnip", priority = 1000, group_index = 2 },
{ name = "nvim_lua", priority = 900 }, { name = "nvim_lua", priority = 900, group_index = 2 },
{ name = "nvim_lsp", priority = 800 }, { name = "nvim_lsp", priority = 800, group_index = 2 },
{ {
name = "buffer", name = "buffer",
option = { option = {
@ -165,10 +165,11 @@ local options = {
return vim.tbl_keys(bufs) return vim.tbl_keys(bufs)
end end
}, },
priority = 700 priority = 700,
group_index = 2,
}, },
{ name = "copilot", priority = 100 }, { name = "copilot", priority = 100, group_index = 2 },
{ name = "path" }, { name = "path", group_index = 2 },
}, },
} }

Loading…
Cancel
Save