diff --git a/lua/plugins/languages/rust.lua b/lua/plugins/languages/rust.lua index 13ff783..77dc207 100644 --- a/lua/plugins/languages/rust.lua +++ b/lua/plugins/languages/rust.lua @@ -49,13 +49,6 @@ return { require("rust-tools").setup({ server = { - on_attach = function(_, bufnr) - local rt = require("rust-tools") - -- Hover actions - vim.keymap.set("n", "", rt.hover_actions.hover_actions, { buffer = bufnr }) - -- Code action groups - vim.keymap.set("n", "a", rt.code_action_group.code_action_group, { buffer = bufnr }) - end, capabilities = capabilities, settings = { ["rust-analyzer"] = {