diff --git a/lua/plugins/lz-spec.lua b/lua/plugins/lz-spec.lua index 99f9cd6..9dc729b 100644 --- a/lua/plugins/lz-spec.lua +++ b/lua/plugins/lz-spec.lua @@ -229,7 +229,7 @@ return { }, { "crates.nvim", - filetypes = "*.toml", + event = "BufRead Cargo.toml", after = function() require("crates").setup() end,