completions: show lsp result first
This commit is contained in:
parent
1fc2c4cff1
commit
213815a2ce
|
@ -31,9 +31,8 @@ return {
|
|||
["<CR>"] = 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" },
|
||||
}),
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue