fix crates.nvim breaking cmp
This commit is contained in:
parent
4a06eafe98
commit
1d777e68c7
|
|
@ -99,11 +99,8 @@ local plugins = {
|
||||||
event = { "BufRead Cargo.toml" },
|
event = { "BufRead Cargo.toml" },
|
||||||
config = function()
|
config = function()
|
||||||
require("plugins.configs.others").crates()
|
require("plugins.configs.others").crates()
|
||||||
end,
|
-- Add crates.nvim to the cmp sources as soon as we load the plugin
|
||||||
-- Add crates.nvim to the cmp sources as soon as we load the plugin
|
require("cmp").setup.buffer({ sources = { { name = "crates" } } })
|
||||||
init = function()
|
|
||||||
local cmp = require("cmp");
|
|
||||||
cmp.setup.buffer({ sources = { { name = "crates" } } })
|
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue