astronvim-config/lsp/config/rust_analyzer.lua
2023-05-25 20:06:18 +02:00

15 lines
243 B
Lua

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