rust-analyzer check command is check
and not checkOnSave
(#8054)
Reference: https://rust-analyzer.github.io/manual.html#configuration Release Notes: - N/A
This commit is contained in:
parent
fc101c1fb3
commit
e9f400a8bd
2 changed files with 5 additions and 5 deletions
|
@ -540,10 +540,10 @@
|
||||||
"lsp": {
|
"lsp": {
|
||||||
// Specify the LSP name as a key here.
|
// Specify the LSP name as a key here.
|
||||||
// "rust-analyzer": {
|
// "rust-analyzer": {
|
||||||
// //These initialization options are merged into Zed's defaults
|
// // These initialization options are merged into Zed's defaults
|
||||||
// "initialization_options": {
|
// "initialization_options": {
|
||||||
// "checkOnSave": {
|
// "check": {
|
||||||
// "command": "clippy"
|
// "command": "clippy" // rust-analyzer.check.command (default: "check")
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
|
|
|
@ -245,8 +245,8 @@ To override settings for a language, add an entry for that language server's nam
|
||||||
"lsp": {
|
"lsp": {
|
||||||
"rust-analyzer": {
|
"rust-analyzer": {
|
||||||
"initialization_options": {
|
"initialization_options": {
|
||||||
"checkOnSave": {
|
"check": {
|
||||||
"command": "clippy" // rust-analyzer.checkOnSave.command
|
"command": "clippy" // rust-analyzer.check.command (default: "check")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue