Skip to content

Commit

Permalink
fix(rust): Lazy load crates.nvim on BufRead Cargo.toml event (#515)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzaaft authored Aug 10, 2023
1 parent 3cda952 commit cdd62c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/astrocommunity/pack/rust/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ return {
},
{
"Saecki/crates.nvim",
event = { "BufRead Cargo.toml" },
init = function()
vim.api.nvim_create_autocmd("BufRead", {
group = vim.api.nvim_create_augroup("CmpSourceCargo", { clear = true }),
Expand Down

0 comments on commit cdd62c6

Please sign in to comment.