diff --git a/lua/ow/lsp.lua b/lua/ow/lsp.lua index 94aa3e6..c57b255 100644 --- a/lua/ow/lsp.lua +++ b/lua/ow/lsp.lua @@ -472,6 +472,18 @@ function M.setup() end), settings = { ["rust-analyzer"] = { + check = { + command = "clippy", + extraArgs = { + "--", + "-Wclippy::pedantic", + }, + }, + diagnostics = { + styleLints = { + enable = true, + }, + }, inlayHints = { chainingHints = { enable = false,