diff --git a/lua/plugins/completions.lua b/lua/plugins/completions.lua index 37bfae5..cd218db 100644 --- a/lua/plugins/completions.lua +++ b/lua/plugins/completions.lua @@ -31,9 +31,8 @@ return { [""] = cmp.mapping.confirm({ select = false }), }), sources = cmp.config.sources({ - { name = "nvim_lsp" }, - { name = "luasnip" }, - }, { + { name = "nvim_lsp", priority = 2 }, + { name = "luasnip", priority = 1 }, { name = "buffer" }, }), })