fix(neovim): setup rustfmt
This commit is contained in:
parent
913b0dc3ac
commit
ed11e6c19a
|
@ -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"},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue