fix rustfmt

This commit is contained in:
Christoph J. Scherr 2024-01-11 09:45:37 +01:00
parent c11e121819
commit 2f703ae7a5
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 1 additions and 9 deletions

View File

@ -33,15 +33,7 @@ return {
require("formatter.filetypes.any").remove_trailing_whitespace, require("formatter.filetypes.any").remove_trailing_whitespace,
}, },
text = { require("formatter.defaults.prettierd") }, text = { require("formatter.defaults.prettierd") },
rust = { rust = { require("formatter.filetypes.rust").rustfmt },
rustfmt = function()
return {
exe = "rustfmt",
args = { "--emit=std ut" },
stdin = true,
}
end,
},
cpp = { require("formatter.filetypes.cpp").clangformat }, cpp = { require("formatter.filetypes.cpp").clangformat },
css = { require("formatter.filetypes.css").prettierd }, css = { require("formatter.filetypes.css").prettierd },
html = { require("formatter.filetypes.html").prettierd }, html = { require("formatter.filetypes.html").prettierd },