update rust-tools

This commit is contained in:
Kasper Juul Hermansen 2023-02-05 20:31:25 +01:00
parent 3483188038
commit 5f9d7c1eb5
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -11,6 +11,26 @@ return {
-- Code action groups
vim.keymap.set("n", "<Leader>a", rt.code_action_group.code_action_group, { buffer = bufnr })
end,
settings = {
["rust-analyzer"] = {
imports = {
granularity = {
group = "module",
},
prefix = "self",
},
cargo = {
buildScripts = {
enable = true,
},
},
procMacro = {
enable = true,
},
--checkOnSave = false,
},
},
},
})
end,