feat(vim): bump the priority of snippets in completion

I want the snippets to be the first thing in the completion when they
are available.
This commit is contained in:
Ade Attwood 2024-04-10 19:12:59 +01:00
parent ad88b65474
commit a1e089babb

View file

@ -66,7 +66,7 @@ cmp.setup {
end, { "i", "s" }), end, { "i", "s" }),
}, },
sources = { sources = {
{ name = "luasnip" }, { name = "luasnip", priority = 1000 },
{ name = "copilot" }, { name = "copilot" },
{ name = "nvim_lsp" }, { name = "nvim_lsp" },
{ name = "buffer" }, { name = "buffer" },