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:
parent
ad88b65474
commit
a1e089babb
1 changed files with 1 additions and 1 deletions
|
|
@ -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" },
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue