diff --git a/vim/.vim/lua/plugins/rust.lua b/vim/.vim/lua/plugins/rust.lua index dbb9fbc..9006833 100644 --- a/vim/.vim/lua/plugins/rust.lua +++ b/vim/.vim/lua/plugins/rust.lua @@ -6,10 +6,12 @@ return { }, { "saecki/crates.nvim", - ft = "rust", - dependencies = { "nvim-lua/plenary.nvim" }, + -- event = { "BufRead Cargo.toml" }, + -- ft = "rust", + -- dependencies = { "nvim-lua/plenary.nvim" }, config = function() require("crates").setup({ + completion = { cmp = { enabled = true,