Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
rust-analyzer check command is `check` and not `checkOnSave` (#8054)
Ali Servet Donmeze9f400a8bd23
diff --git a/assets/settings/default.json b/assets/settings/default.jsonindex 8d12c54fde5..0ea59570e42 100644--- a/assets/settings/default.json+++ b/assets/settings/default.json@@ -540,10 +540,10 @@"lsp": {// Specify the LSP name as a key here.// "rust-analyzer": {- // //These initialization options are merged into Zed's defaults+ // // These initialization options are merged into Zed's defaults// "initialization_options": {- // "checkOnSave": {- // "command": "clippy"+ // "check": {+ // "command": "clippy" // rust-analyzer.check.command (default: "check")// }// }// }diff --git a/docs/src/configuring_zed.md b/docs/src/configuring_zed.mdindex 006a448fc9c..9103e64f60a 100644--- a/docs/src/configuring_zed.md+++ b/docs/src/configuring_zed.md@@ -245,8 +245,8 @@ To override settings for a language, add an entry for that language server's nam"lsp": {"rust-analyzer": {"initialization_options": {- "checkOnSave": {- "command": "clippy" // rust-analyzer.checkOnSave.command+ "check": {+ "command": "clippy" // rust-analyzer.check.command (default: "check")}}}