Try to improve the rustfmt.overrideCommand docs

This commit is contained in:
Laurențiu Nicola
2023-02-21 12:22:38 +02:00
parent e59ada921f
commit 563bd9c24a
3 changed files with 9 additions and 3 deletions

View File

@@ -1283,7 +1283,7 @@
}
},
"rust-analyzer.rustfmt.overrideCommand": {
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting.",
"markdownDescription": "Advanced option, fully override the command rust-analyzer uses for\nformatting. This should be the equivalent of `rustfmt` here, and\nnot that of `cargo fmt`. The file contents will be passed on the\nstandard input and the formatted result will be read from the\nstandard output.",
"default": null,
"type": [
"null",