feat: add formatter for rust

This commit is contained in:
Viktor Stamoff 2024-06-20 16:52:00 +03:00 committed by Viktor Stamoff
parent dde4a9dcdf
commit a060b2ed4c
No known key found for this signature in database
GPG key ID: 33DC940DC0B8890A

View file

@ -113,6 +113,21 @@ return {
}, },
}, },
{
"stevearc/conform.nvim",
optional = true,
opts = {
formatters = {
rustfmt = {
command = "rustfmt",
},
},
formatters_by_ft = {
["rust"] = { "rustfmt" },
},
},
},
{ {
"nvim-neotest/neotest", "nvim-neotest/neotest",
optional = true, optional = true,