We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8608047 commit 6e4f0cbCopy full SHA for 6e4f0cb
src/building/suggested.md
@@ -43,6 +43,11 @@ you can write:
43
in your `.vscode/settings.json` file. This will ask `rust-analyzer` to use
44
`x.py check` to check the sources, and the stage 0 rustfmt to format them.
45
46
+If you're running `coc.nvim`, you can use `:CocLocalConfig` to create a
47
+`.vim/coc-settings.json` and enter the same settings as above, but replacing
48
+`editor.formatOnSave: true,` with
49
+`"coc.preferences.formatOnSaveFiletypes": ["rust"],`.
50
+
51
If running `x.py check` on save is inconvenient, in VS Code you can use a [Build
52
Task] instead:
53
0 commit comments