Skip to content

Commit

Permalink
rust-analyzer check command is check and not checkOnSave (#8054)
Browse files Browse the repository at this point in the history
  • Loading branch information
exalted authored Feb 20, 2024
1 parent fc101c1 commit e9f400a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions assets/settings/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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")
// }
// }
// }
Expand Down
4 changes: 2 additions & 2 deletions docs/src/configuring_zed.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit e9f400a

Please sign in to comment.