diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 516ee54..76167e6 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -119,6 +119,13 @@ return { vim.keymap.set("n", "a", rt.code_action_group.code_action_group, { buffer = bufnr }) end, capabilities = capabilities, + settings = { + ["rust-analyzer"] = { + check = { + command = "clippy", + }, + }, + }, }, }); end,