lsp: rust-tools: enable clippy

This commit is contained in:
kalmenn 2023-12-30 12:18:49 +01:00
parent a9c683440a
commit f363c1d930
Signed by: kalmenn
GPG key ID: F500055C44BC3834

View file

@ -119,6 +119,13 @@ return {
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end,
capabilities = capabilities,
settings = {
["rust-analyzer"] = {
check = {
command = "clippy",
},
},
},
},
});
end,