lsp: rust-tools: enable clippy
This commit is contained in:
parent
a9c683440a
commit
f363c1d930
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue