diff --git a/lua/config/lsp/rust_analyzer.lua b/lua/config/lsp/rust_analyzer.lua index 06fb603..6af765d 100644 --- a/lua/config/lsp/rust_analyzer.lua +++ b/lua/config/lsp/rust_analyzer.lua @@ -18,10 +18,15 @@ if next(config) then settings = { ["rust-analyzer"] = { checkOnSave = { - command = "clippy" + command = "clippy", + enable = true + }, + diagnostics = { + enable = false, }, check = { - command = "check" + command = "check", + extraArgs = {"--all-features"} }, }, },