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

This commit is contained in:
jyuan0
2023-10-07 05:45:03 -04:00
committed by GitHub
parent 75a26e8509
commit 237be9e3a7

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