fix rustfmt
This commit is contained in:
parent
c11e121819
commit
2f703ae7a5
|
@ -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 },
|
||||||
|
|
Loading…
Reference in New Issue