chore: better lazy trigger for crates.nvim

This commit is contained in:
Youwen Wu 2024-10-11 12:27:35 -07:00
parent e4ba4be689
commit 287395d593
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -229,7 +229,7 @@ return {
}, },
{ {
"crates.nvim", "crates.nvim",
filetypes = "*.toml", event = "BufRead Cargo.toml",
after = function() after = function()
require("crates").setup() require("crates").setup()
end, end,