astronvim-config/lsp/config/rust_analyzer.lua
2023-09-18 13:19:58 +02:00

17 lines
321 B
Lua

return {
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
extraArgs = {
"--",
"-W", "clippy::pedantic",
"-W", "clippy::nursery",
"-W", "clippy::unwrap_used",
"-W", "clippy::expect_used",
},
},
},
},
}