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 = {
command = "nixfmt",
},
rustfmt = {
command = "rustfmt",
},
},
formatFiletypes = {
javascript = {"eslint"},
@ -215,6 +218,7 @@ config.diagnosticls.setup {
yaml = {"prettier"},
markdown = {"prettier"},
nix = {"nixfmt"},
rust = {"rustfmt"},
html = {"prettier"},
css = {"stylelint"},
},