2023-02-23 23:25:59 +01:00
|
|
|
return {
|
|
|
|
settings = {
|
|
|
|
["rust-analyzer"] = {
|
|
|
|
checkOnSave = {
|
|
|
|
command = "clippy",
|
|
|
|
extraArgs = {
|
|
|
|
"--",
|
|
|
|
"-W", "clippy::pedantic",
|
|
|
|
"-W", "clippy::nursery",
|
2023-09-18 13:19:58 +02:00
|
|
|
"-W", "clippy::unwrap_used",
|
|
|
|
"-W", "clippy::expect_used",
|
2023-02-23 23:25:59 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|