fix(neovim): setup rustfmt

This commit is contained in:
Felix Schröter 2022-04-25 21:13:22 +02:00
parent 913b0dc3ac
commit ed11e6c19a
Signed by: felschr
GPG key ID: 671E39E6744C807D

View file

@ -203,6 +203,9 @@ config.diagnosticls.setup {
nixfmt = { nixfmt = {
command = "nixfmt", command = "nixfmt",
}, },
rustfmt = {
command = "rustfmt",
},
}, },
formatFiletypes = { formatFiletypes = {
javascript = {"eslint"}, javascript = {"eslint"},
@ -215,6 +218,7 @@ config.diagnosticls.setup {
yaml = {"prettier"}, yaml = {"prettier"},
markdown = {"prettier"}, markdown = {"prettier"},
nix = {"nixfmt"}, nix = {"nixfmt"},
rust = {"rustfmt"},
html = {"prettier"}, html = {"prettier"},
css = {"stylelint"}, css = {"stylelint"},
}, },