From 287395d593e71caec47a979a0f17b1e7909a3755 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Fri, 11 Oct 2024 12:27:35 -0700 Subject: [PATCH] chore: better lazy trigger for crates.nvim --- lua/plugins/lz-spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,