feat: rust plugins

This commit is contained in:
2024-12-31 12:54:45 +01:00
parent ba342d13e5
commit 2eb6e7ec6f
2 changed files with 32 additions and 0 deletions

View File

@@ -38,6 +38,24 @@ return {
},
},
{
"rust-lang/rust.vim",
ft = "rust",
init = function()
vim.g.rustfmt_autosave = 1
end,
},
{
"saecki/crates.nvim",
ft = { "rust", "toml" },
config = function(_, opts)
local crates = require "crates"
crates.setup(opts)
crates.show()
end,
},
{
"nanotee/zoxide.vim",
lazy = false,