fix(rust): explicitly enable nvim-cmp source registration for crates

This commit is contained in:
Jacob Yuan 2023-10-06 19:54:40 -04:00
parent fb110e76d8
commit 4f7d4a3820

View file

@ -7,7 +7,11 @@ return {
{ {
"Saecki/crates.nvim", "Saecki/crates.nvim",
event = { "BufRead Cargo.toml" }, event = { "BufRead Cargo.toml" },
config = true, opts = {
src = {
cmp = { enabled = true },
},
},
}, },
}, },
---@param opts cmp.ConfigSchema ---@param opts cmp.ConfigSchema